GeeCON Prague 2014*
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


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
 
GeeCON Prague 2014
 
subject: How to check if browser supports cookie??