File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes About cookies and headers Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "About cookies and headers" Watch "About cookies and headers" New topic

About cookies and headers

Sanjeev Verma
Ranch Hand

Joined: Aug 24, 2000
Posts: 87
Hi all
I am a newbie to servlets. I have a doubt. Is there a way by which a servlet can know whether a client accepts/rejects cookies? Is there a header to this effect? Or may be some other way.
thanx all
maha anna
Ranch Hand

Joined: Jan 31, 2000
Posts: 1467
Please check if you can make use of the servlet API 'isRequestedSessionIdFromCookie()'.

maha anna
I agree. Here's the link:
subject: About cookies and headers
It's not a secret anymore!