Help Center> Elastic Load Balance> User Guide (ME-Abu Dhabi Region)> FAQs> Sticky Session> What Should I Do If Sticky Sessions Fail to Take Effect?
Updated on 2022-01-25 GMT+08:00

What Should I Do If Sticky Sessions Fail to Take Effect?

  1. Check whether the sticky session feature is enabled for the backend server group.
  2. Check the health check result of the backend server. If the health check result is Unhealthy, traffic is routed to other backend servers. As a result, sticky sessions become invalid.
  3. If the Source IP hash algorithm is selected, check whether the IP address of the request changes before the load balancer receives the request.
  4. If an HTTP or HTTPS listener is configured with the sticky session feature enabled, check whether the request carries a cookie. If yes, check whether the cookie value changes (because load balancing at Layer 7 uses cookies to maintain sessions).