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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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: 1506
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: 12675
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.

Java Resources at
I agree. Here's the link:
subject: cookies
Similar Threads
remember user password in jsp/java
handling next and back buttons in javascript
Session sharing (JSP-PHP)
can anyone tell me how to make a authentication with jsp & servlet
WA #1.....word association