destroy session cookies on windows close
Posted on 2004-09-16
I'd like to be able to destroy the session cookies when a user closes the browser window. I have a link to "log out" which works great. If a user clicks on it, no problem. BUT if they close the window without clicking on the link, then the cookies stay with the login info for some time. I don't want to set the expire time to something really short, so they don't have to log in multiple times during one surfing session.
Apache version : Apache/1.3.31
PHP version : 5.0.1
Thanks a lot!!