I am learning Tomcat session control and I have 2 workers with sticky_session=1
. But I want to remove stickiness to a particular worker yet maintain the session for users. I found the following statement in Tomcat doc and it says sticky_session can be False yet session can be shared across multiple instances. But I'm not quite sure what this Session Manager
is exactly about and how to set it up. Could someone please elaborate this or point me to the corresponding doc if there is any?
sticky_session specifies whether requests with SESSION ID's should be routed back to the same Tomcat worker. You can set sticky_session to False when Tomcat is using a Session Manager which can persist session data across multiple instances of Tomcat. By default sticky_session is set to True.