Session does not end when browser is closed.
| From: | Lee Hanxue | Date: | Mon, 11 Aug 2003 15:36:56 +0000 |
| Subject: | Session does not end when browser is closed. | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-159261@lists.php.net to get a copy of this message | ||
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