jQuery in Action, 3rd edition
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
JavaRanch » Java Forums » Java » Servlets
Bookmark "cookies" Watch "cookies" New topic


dhanu sudha

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.

So much trouble in the world -- Bob Marley
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13037
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.
I agree. Here's the link: http://aspose.com/file-tools
subject: cookies
jQuery in Action, 3rd edition