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

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
Sanjeev
maha anna
Ranch Hand

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

regds
maha anna
 
GeeCON Prague 2014
 
subject: About cookies and headers