$_SESSION[] is retarted
Posted: Fri Oct 31, 2008 12:32 am
Hi, I'm writing a login script that uses a session variable to remember authenticated users. The problem is that I want the session to die when the browser is closed, but it doesn't. It used to erase the session when the browser was closed but then for no apparent reason it stopped working. I was under the impression that the default for session variables is to erase when the browser is closed but mine arn't erased. Is there any way to kill the session variable when the browser is closed?