• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Cookies Enabled Flag ?

 
Jonathan Andrew King
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Folks,
Does anyone out there know if there is anything in the HTTP request and Servlet API that defines if cookies are available up front ?
The problem is that if I set a cookie I have to wait until the next request to determine if it worked which is too late.
Cheers
JonK
 
Bosun Bello
Ranch Hand
Posts: 1510
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not that I am aware of. You just have to try to get the cookies and see if there is any. i.e The cookie array returns zero length.

Bosun
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic