Re: Session does not end when browser is closed.

From: Date: Tue, 12 Aug 2003 09:22:10 +0000
Subject: Re: Session does not end when browser is closed.
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-159264@lists.php.net to get a copy of this message
make sure the process has terminated. Lee Hanxue wrote:
Hi, I am using $_SESSION and each php page has session_start() Session Handling is working fine, except for one problem: when I close my browser and re-open it again, I am still logged in. I tested the log in and log out functions and they work fine. How can I terminate a session when the user closes the browser? All the while I thought a new session will be initiated when a new instance of the browser is used to access a page. Hanxue


« previous php.general (#159264) next »