A sticky session, also called session affinity, is a technique in which a load balancer that spreads requests across several servers identifies a session by a cookie or connection details and keeps sending that session's requests to the server that first handled it. This lets users keep the same state even when a server stores session state in its own memory.
Its drawbacks are that load can pile up on one server and that session state can be lost if that server fails, so it is weighed against keeping session state in shared storage.