aspose file tools*
The moose likes Servlets and the fly likes cookies Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "cookies" Watch "cookies" New topic
Author

cookies

dhanu sudha
Greenhorn

Joined: Apr 16, 2002
Posts: 11
what happens if we disable the cookies in the browser?so in this case how do we track the session?
kindly give the answer.
Bosun Bello
Ranch Hand

Joined: Nov 06, 2000
Posts: 1510
Since sessions use cookies or URL Rewriting under the cover, if cookies are disabled, it will resort to using URL rewriting.


Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12769
    
    5
Reverting to URL rewriting does NOT happen automatically. The servlet engine will automatically recognize session ID values that appear in URLs but it is up to the programmer to encode session ids in URLs that your servlet or JSP generates.
Bill
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: cookies