I have an application hosted and it uses many different servlet paths. It seems Jetty (that GAE uses) creates a new session for every context path in the request URL.
Example:
abc.appspot.com/
abc.appspot.com/path2/hello
Each of those paths use two different sessions. Is there any way to prevent that? I came across the following config that can be used in the web.xml file for Jetty servers:
<context-param>
<param-name>org.eclipse.jetty.servlet.SessionPath</param-name>
<param-value>/</param-value>
</context-param>
It hasn't worked for me, am I doing it wrong or this is impossible? I've heard this is possible in Tomcat.