Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

to find out the browser  RSS feed

 
Ravi Chandiran
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ! If any body can clarify me, how to find out whether the browser is enabled for cookies are not !

Thanx in advance

Ravi
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The only way I know is to try to set a cookie and see if it comes back in the next request. If you are trying to use a HttpSession, you can call the isNew() method - if the session is always new, the browser is not supporting cookies.
Bill
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!