You are here: Core engine > High availability > High availability configuration > Cookie management

Cookie management for highly available systems

Cookies are configured for highly available systems using the prconfig.xml property session/ha/quiesce/customSessionInvalidationMethod

You can configure a specific cookie, as displayed in the following example:

<env name="session/ha/quiesce/customSessionInvalidationMethod"

value="configurable-cookie-invalidator"/>

<env name="session/ha/quiesce/cookieToInvalidate" value="MyCookieName"/>

Note that load balancers might rewrite or augment the cookie name, for example: BIGip<MyCookieName>. Additionally, validation testing is required when you configure a load balancer for cookie rewriting.

You can also add a Java implementation that returns the cookie name. Implement the fully qualified name of a class by implementing the interface customSessionInvalidationMethod in prpublic:

<env name="session/ha/quiesce/customSessionInvalidationMethod"

value="com.mypackage.myInvalidationClass."/>

For more information, see Session invalidation method.

Related Topics Link IconRelated information