Register / Login
Win a copy of
Think Java: How to Think Like a Computer Scientist
this week in the
Java in General
logout cookie problem
posted 10 years ago
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 ?
Browser cookie session doesn�t get deleted
Setting cookie takes time?
need to update logout details into database when client machine shutdown