How to generate custom JSESSIONID, based on some hash of user's data?
Posted
by Shaman
on Stack Overflow
See other posts from Stack Overflow
or by Shaman
Published on 2010-05-14T11:51:22Z
Indexed on
2010/05/14
11:54 UTC
Read the original article
Hit count: 290
Is it possible to override Tomcat's embedded generator of JSESSIONID, to be able to create custom values of this cookie, based on user's login?
Why do I need this: I have a load balancer with "sticky sessions", configured to route requests with the same JSESSIONID to the same server, and I want to prevent situation, when same user can start two different sessions on different servers.
© Stack Overflow or respective owner