We have 3 different virtual hosts, which are subdomains of our main domain.
We need access to the session from all virtual hosts. We use cookie-sessions, at the moment url-rewriting isn't a possible alternative.
The problem is, that the browser doesn't send the cookie back to a subdomain, if the cookie was sent from one of the two others.
Till now we solved the problem by specifying the domain globally
in the resin.conf . Yes we used Resin as Servlet-Engine and Resin supports a config-tag <cookie-domain> which solved our problem
perfectly. As far as i know Tomcat doesn't support something
like that.
As I don't have access to the session-cookie, i thought in creating a cookie with the current session-id and the proper domain set for every virtual host, but that seems to me a little bit awkward.
Is it possible to specify a general cookie-domain globally for a virtual host?
Is there a way to manipulate the session-cookie (set the domain)?
What is supposed as best practise to get access to one session from different subdomains?
Any help/comment is greatly appreciated.
--
Regards
Martin
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
