tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christian Rudh <>
Subject Re: Session cookie path problem
Date Thu, 01 Dec 2005 15:01:15 GMT
I forgot to mention that I am using Tomcat through Apache and mod_jk.

Christian Rudh wrote:
> Hi
> I have set up so all users on my server can use Tomcat from their home
> directories. They access servlets through
> "domain/~user/java/servlet/TestServlet" and it works fine.
> But I tried setting a session value in a servlet and the session value
> was never stored. So I checked the session cookie that Tomcat generates
> and the path in it was set to "/%7Euser/" in the beginning.
> So if I access the servlet by writing
> "domain/%7Euser/java/servlet/TestServlet" in the browser the session
> values works, but not if I use "~" in the browser.
> I know that "%7E" is the URL-encoded "~", but the users shouldn't have
> to enter that manually...
> What is doing this and how can I fix it?

Christian Rudh

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message