Hi, is it possible to specify the sticky session duration?
I mean that the stuck session is cleared when there isn't activity for a period of time.
We have a distributable application that keeps a reference to logged user in the web session. But at login time, the web session replication isn't enough fast as requests that follow the login request. So, if, for those requests, the balancer choose a node that doesn't have been replicated yet, the user wouldn't be in session and an error occur.
Another use of this functionality would be when you use cached information on a server. If you don use sticky session you would load to cache several times the same information in different servers. But if you use sticky session you would be tied to the same server for all session life.
Thanks in advance
Leandro
For the sake o completeness, it is answered here: load balancing - Sticky session duration - Stack Overflow