Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

to find out the browser

 
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: 13058
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