|
Subject:
|
Session without cookies
|
|
Posted By:
|
kumar_sampath
|
Post Date:
|
9/3/2004 5:57:46 AM
|
Hi friends,
When I disabled the cookies in my browser. Is it possible for me to access a site which uses JSP HttpSession for maintaining session?
thanks in advance,
sampath
|
|
Reply By:
|
sonicDace
|
Reply Date:
|
10/8/2004 9:58:47 AM
|
you can use encodeURL( string ) and encodeRedirectURL ( string ), where the string is the url you want to specify. These will append the jsessionid as a parameter to the end of your request.
if you are using JSP, it would look something like this:
<a href="<%= response.encodeURL ("/linkToAnotherPage.jsp") %>">
thanks
|
|
Reply By:
|
sonicDace
|
Reply Date:
|
10/8/2004 10:02:11 AM
|
Sorry for the misinterpretation.
My post is what you would do if you want your site to support sessions for people whos browsers don't support cookies, or have them disabled.
To answer your question: Yes, you can make use of sessions with cookies disabled in your browser IF the site took the aforementioned previsions.
thanks
|