Greetings!


I need to share Tomcat sessions between virtual hosts in different subdomains on my domain, eg www.mysite.com and user.mysite.com.

But according to the servlet specs, tomcat stores the session cookie with full host name and context path. So I get a cookie for www.mysite.com/servlet and another cookie for user.mysite.com/servlet.

Is there any way to force Tomcat to create a domainwide JSESSIONID cookie without any context path (just for the whole mysite.com)?

Thanks in advance,
Jan



--
To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>

Reply via email to