From: "Lee Hanxue" <[EMAIL PROTECTED]>

> 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.

check that the session.cookie_lifetime hasn't been extended in php.ini,
.htaccess, or your scripts.

---John Holmes...


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to