Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP 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