I have an application and it uses many different servlet paths. It seems Jetty (which uses GAE) creates a new session for each context path in the request URL.
Example:
Each of these paths uses two different sessions. Is there any way to prevent this? I came across the following configuration, which 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 did not work for me, am I doing it wrong or is it impossible? I heard it is possible in Tomcat .
Kumar source
share