Two Laptop Bag*
The moose likes Servlets and the fly likes What will happen when my browser does not support cookies? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "What will happen when my browser does not support cookies?" Watch "What will happen when my browser does not support cookies?" New topic
Author

What will happen when my browser does not support cookies?

Dinesh Ramaswamy
Greenhorn

Joined: Oct 05, 2001
Posts: 13
If my browser does not support cookies , and my server sends a cookie instance,what will happen?
Regards,
Dinesh.
[ September 04, 2002: Message edited by: Dinesh Ramaswamy ]
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16250
    
  21

It's ignored. The cookie simply gets discarded.
Unless you have a browser that alerts you when you have cookies disabled. Then it might ask for permission to save the cookie anyway.


Customer surveys are for companies who didn't pay proper attention to begin with.
chanoch wiggers
Author
Ranch Hand

Joined: May 24, 2001
Posts: 245
good server like tomcat will detect if a cookie would get rejected and rewrite all the urls - hence why keeping info in sessin is better from that point of view - alternatively if youare creating a very high volume site it may help you to send cookies instead and require people to accept cookies. If it is an important enough app it wont matter - i cant think of many browsers that dont support cookies nowadays, although I am sure some mainframe programmers will correct me in a second saying they still use telnet.


chanoch<p><a href="http://www.amazon.com/exec/obidos/ASIN/1861007736/" target="_blank" rel="nofollow">Author of Professional Apache Tomcat</a></p>
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: What will happen when my browser does not support cookies?