You are here: Core engine > High availability > Configuring a highly available environment > Configuring session affinity

Configuring session affinity

Note: Session affinity configuration is only applicable when using slow drain for quiesce.

Session affinity is configured with the load balancer. It ensures that all requests from a user are handled by the same Pega 7 Platform server.

Production load balancers offer a range of options for configuring session affinity. The Pega 7 Platform supports cookie-based affinity. Configure cookies for high availability session affinity using the following variables.

session/ha/quiesce/customSessionInvalidationMethod

session/ha/quiesce/cookieToInvalidate