This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
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

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
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!