tags:

views:

17

answers:

1

How do I make multiple tomcats on different servers sharing sessions? I have a balancer sitting in front 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.

A: 

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

edit --

http://stackoverflow.com/questions/1040025/difference-between-session-affinity-and-sticky-session

hvgotcodes

related questions