File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: logout cookie problem
 
Similar Threads
Browser cookie session doesn�t get deleted
need to update logout details into database when client machine shutdown
Tough Cookie
Setting cookie takes time?
login/logout link