marat-gainullin / platypus-js

Apache License 2.0
9 stars 9 forks source link

Session share feature #88

Closed AlexeyKashintsev closed 8 years ago

AlexeyKashintsev commented 8 years ago

Add session sharing between different app contexts

marat-gainullin commented 8 years ago

Can you please clarify, what contexts do you mean?

valeriy-maslov commented 8 years ago

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