ID: 26021
Updated by: [email]sniperphp.net[/email]
Reported By: oc34 at hotmail dot com
-Status: Open
+Status: Bogus
Bug Type: Session related
-Operating System: NTFS
+Operating System: win32
PHP Version: 4.3.3
New Comment:

You're doing something wrong. Propably the page is just in cache (blame
IE)



Previous Comments:
------------------------------------------------------------------------

[2003-10-28 15:52:59] oc34 at hotmail dot com

Description:
------------
My problem is, the session will not expire after the user logs out. Its
fine the window is closed. Here is some info:
server information: OS win2000; NTFS; php version 4.3.3
php.ini configuration: session.cache_expire = 2;
session.cookie_lifetime = 1; session.use_cookies Off;

Reproduce code:
---------------
logout page code:
unset($_SESSION['username']);
unset($_SESSION['password']);
// kill session variables
$_SESSION = array(); // reset session array
session_destroy(); // destroy session.

Expected result:
----------------
upon logout session should be destroyed but it is not! Session does
expire when browser is closed.

Actual result:
--------------
Page is alive after logout.


------------------------------------------------------------------------


--
Edit this bug report at [url]http://bugs.php.net/?id=26021&edit=1[/url]