This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
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
Register / Login


JavaRanch » Java Forums » Java » Servlets
Reply 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: 14568
    
    7

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://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: What will happen when my browser does not support cookies?
 
Similar Threads
servlet
Cookies
A cookie question
1.if my browser does not support cookies,and my server sends a cookie instance what w
User gets logged out automatically