wood burning stoves 2.0*
The moose likes Struts and the fly likes Hiding Session ID in address bar Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Hiding Session ID in address bar" Watch "Hiding Session ID in address bar" New topic
Author

Hiding Session ID in address bar

hrishikesh katti
Greenhorn

Joined: Apr 27, 2009
Posts: 1
Hello
I m doing one web based project in Struts 1.3. My web application contains Login form. When I submit my login form the control goes to Login.do.
When action goes to Login.do the address bar contains entire URL. This address bar also shows JSession ID which is some huge number.
I want to hide this JSession ID in address bar.
Please Help.waiting 4 reply.....
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

The session ID will only show up in the address bar if (a) cookies are turned off or (b) it's the first request (the server doesn't know if cookies are turned off until it tries to set a cookie and it doesn't get sent back by the browser).
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Hiding Session ID in address bar