开发者

sessions in multiple tomcats

开发者 https://www.devze.com 2023-01-09 17:40 出处:网络
How do I make multiple tomcats on different servers sharing sessions? I have a balancer sitting in front 开发者_StackOverflow社区of 2 tomcat on two different servers, so when user starts a session, it

How do I make multiple tomcats on different servers sharing sessions? I have a balancer sitting in front 开发者_StackOverflow社区of 2 tomcat on two different servers, so when user starts a session, it's only associated with one of the tomcats. He might or might not get the session in the next request.


i think you can tell it to do sticky sessions, so the LB keeps requests from a client on one app server...

edit --

Difference between session affinity and sticky session?

0

精彩评论

暂无评论...
验证码 换一张
取 消