Java

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
Home » Development Group »» Java
  • Session cookie path problem

    1 answers - 700 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg

    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/%" 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?

Re: Session cookie path problem


max 4000 letters.
Your nickname that display:
In order to stop the spam: 8 + 7 =
SPONSORED
QUESTION

SPONSORED
EMSDN