java - How do I prevent Jetty/GAE from creating new sessions for different context paths? -
i have application hosted , uses many different servlet paths. seems jetty (that gae uses) creates new session every context path in request url.
example:
abc.appspot.com/
abc.appspot.com/path2/hello
each of paths use 2 different sessions. there way prevent that? came across following config can used in web.xml file jetty servers:
<context-param> <param-name>org.eclipse.jetty.servlet.sessionpath</param-name> <param-value>/</param-value> </context-param>
it hasn't worked me, doing wrong or impossible? i've heard this possible in tomcat.
i'm guessing want share session (data) between 2 applications , not share same id different id.
if so, check spring-session server agnostic, , can crazy stuff
Comments
Post a Comment