How to force delete cookies even if one window is still open?
Posted
by medopal
on Stack Overflow
See other posts from Stack Overflow
or by medopal
Published on 2010-06-15T06:40:01Z
Indexed on
2010/06/15
6:42 UTC
Read the original article
Hit count: 232
Apparently in IE8, there is this option 'Preserve Favorites website data', even if I uncheck it the browser will still keep the cookies until the last window is closed.
Problem scenario. say I logged in to somesite.com, then without out logging out, I closed the window, but there was still another IE8 window open. In this case IE8 will keep the cookies of this site. So If I opened the site again (same window or another) the site won't ask for login info.
The client wants the web application to be logged off as soon as the user closes the browser. Can I force delete the cookies IE8 is saving? or maybe I can stop the user from closing the window until I simulate a click on logout button?
© Stack Overflow or respective owner