This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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

Hiding Session ID in address bar

hrishikesh katti

Joined: Apr 27, 2009
Posts: 1
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
When action goes to 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

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).
Have you checked out Aspose?
subject: Hiding Session ID in address bar
It's not a secret anymore!