This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JSP and the fly likes logout cookie problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "logout cookie problem" Watch "logout cookie problem" New topic
Author

logout cookie problem

Yahya Elyasse
Ranch Hand

Joined: Jul 07, 2005
Posts: 510

hi

after i login providing a password via a form field, i set a cookie
when i logout i grab this cookie and set its value to an empty string

then, when closing the browser, i'm not able to go back to a page that is checking for this cookie ?

login -> set cookie

site pages...all check for this cookie, if not the right value then redirect to login

login -> set cookie value = " "

is there a way to solve the loout cookie problem cleanely and elegantly ?
thanks
 
jQuery in Action, 2nd edition
 
subject: logout cookie problem
 
Similar Threads
Setting cookie takes time?
Tough Cookie
need to update logout details into database when client machine shutdown
Browser cookie session doesn�t get deleted
login/logout link