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

check cookie enabled with jsp or javascript  RSS feed

 
Christine Lu
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to check whether client side cookie is enabled using jsp or javascript. Is there anybody can help me? Urgent, thanks
 
Subbu Aswathanarayan
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
u can find out if cookies are enabled or not by this method.
set a cookies in one of the jsp pages and then forward the user to another jsp page.now try reading the cookie which u had setup earlier.if u can read it then cookies are enabled otherwise they aren't.
Subbu
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!