A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
logout cookie problem
Joined: Jul 07, 2005
Jan 28, 2006 16:14:00
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
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 ?
I agree. Here's the link:
subject: logout cookie problem
Browser cookie session doesn�t get deleted
Setting cookie takes time?
need to update logout details into database when client machine shutdown
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014