*
The moose likes Servlets and the fly likes How to check if browser supports cookie?? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "How to check if browser supports cookie??" Watch "How to check if browser supports cookie??" New topic
Author

How to check if browser supports cookie??

Sandeep Awasthi
Ranch Hand

Joined: Oct 23, 2003
Posts: 597
Hi,
Can we check from servlet, if client browser supports cookie?


Sandeep
Bosun Bello
Ranch Hand

Joined: Nov 06, 2000
Posts: 1510
You can send a cookie to the client/browser and then try to read it back. If you don't get it back, then it does not.


Bosun (SCJP, SCWCD)
So much trouble in the world -- Bob Marley
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to check if browser supports cookie??
 
Similar Threads
URL Rewriting
How to check if browser supports cookie??
Sessions Doubt??
Major part of Ajax
encodeURL and cookie