This week's book giveaway is in the Java in General forum.
We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line!
See this thread for details.
Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

About cookies and headers

 
Sanjeev Verma
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 1467
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sanjeev,
Please check if you can make use of the servlet API 'isRequestedSessionIdFromCookie()'.

regds
maha anna
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic