Hi, all
I am using Tomcat 5.5.26 as the Web Server. I know the session
information is stored in Cookies with the key JSESSIONID.
But some browsers don't support Cookies.
So my question is if user's browser doesn't support Cookies, then where
to store user's session information
information?
Hi, all
I am using Tomcat 5.5.26 as the Web Server. I know the
session information is stored in Cookies with the key JSESSIONID.
But some browsers don't support Cookies.
So my question is if user's browser doesn't support Cookies,
then where to store user's session
On 12/01/2010 09:00, Peter Chen wrote:
Hi, all
I am using Tomcat 5.5.26 as the Web Server. I know the session
information is stored in Cookies with the key JSESSIONID.
But some browsers don't support Cookies.
So my question is if user's browser doesn't support Cookies, then where
support Cookies, then where
to store user's session information?
In the URL.
If you encode every URL on the page then Tomcat will determine whether
there's a cookie and it will rewrite the URL to include the parameter
jsessionid.
a href=% response.encodeURL('/path/to/page.jsp') %Link text