> For the complete documentation index, see [llms.txt](https://docs.glesys.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.glesys.com/products/connectivity/load-balancer/how-tos/create-a-http-load-balancer/use-sticky-sessions.md).

# Use sticky sessions

Sticky sessions are often necessary for applications like web shops or websites where a user logs in.

***

Sticky sessions mean that the load balancer sends a visitor's requests to the same server consistently. This is often necessary for applications such as web shops or websites where users log in.

Sticky sessions are enabled per listener by setting *sticky sessions* to *yes*.

<figure><img src="https://3379166260-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlMZhhdQNcWOpX5Bj48GK%2Fuploads%2FAJ85CfwfVpOcRnkNr4hf%2Fsticky-sessions-lb.png?alt=media&amp;token=1dd77703-9058-48ad-b934-441e53ff2860" alt=""><figcaption></figcaption></figure>
