It's not a secret anymore!
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 Building Microservices this week in the Design 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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: About cookies and headers
It's not a secret anymore!