For cookie replaying to work properly for Access Manager session failover, add the com.sun.identity.session.resetLBCookie property with a value of true for both the Policy Agent and the Access Manager server. For example:
com.sun.identity.session.resetLBCookie='true'
For the Policy Agent, add the property to the AMAgent.properties file.
For the Access Manager server, add the property to the AMConfig.properties file.
Note: This property is required only if you have implemented Access Manager session failover.