You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Dave Weis <dj...@businessolver.com> on 2001/04/09 21:59:35 UTC
session cookies across contexts
Is it possible to configure Tomcat to use a single session cookie for
all web contexts? Right now I only have a single context in a
subdirectory and it is sending the session cookie with that subdirectory
at the front. I would also like the session data shared.
I see that the cookie is being sent in SessionInterceptor, do I need to
write my own?
Thanks
dave
--
Dave Weis
Modifying encodeURL()
Posted by "David M. Rosner" <da...@recommend-it.com>.
Hi All,
Is there a way to add a tag to a url along with the session id? For
example, when cookies are disabled Tomcat includes the jspsessionid value
in the URL to identify the session:
http://mydomain.com/SomeScript.jsp;jspsession=ASDF1234?form=x&form=y
What I need to do is add a paramter that indicates which server is handling
the session:
http://mydomain.com/SomeScript.jsp;jspsession=ASDF1234;server1?form=x&form=y
Is it possible to overwrite encodeURL or configure Tomcat to do this?
thanks....
-dave