File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » Servlets
Bookmark "cookies" Watch "cookies" New topic


eswar kumar
Ranch Hand

Joined: Oct 20, 2002
Posts: 98
how can i find whether the cookies are disabled in my system or not ? is there any method to find out programmatically?
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 can not read it back, then cookies are not enabled.

So much trouble in the world -- Bob Marley
Liza Sympson ferreira

Joined: Dec 21, 2003
Posts: 1
Originally posted by Bosun Bello:
Try again !!

I agree. Here's the link:
subject: cookies
It's not a secret anymore!