Closed AlexeyKashintsev closed 8 years ago
Can you please clarify, what contexts do you mean?
He obviously trying to ask how to share sessions between contexts in Apache Tomcat :)
Try this simple solution. In $CATALINA_HOME/conf/server.xml
set emptySessionPath
attribute to true
in connector definition. So it's gonna be like this:
<Connector port="8080" protocol="HTTP/1.1" emptySessionPath="true" connectionTimeout="20000" redirectPort="8443" />
Let me know if it works cause I don't know for sure :)
UPD: Also check this out
Add session sharing between different app contexts