From:             oc34 at hotmail dot com
Operating system: NTFS
PHP version:      4.3.3
PHP Bug Type:     Session related
Bug description:  Why won't the session expire?

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 bug report at http://bugs.php.net/?id=26021&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=26021&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=26021&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=26021&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=26021&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=26021&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=26021&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=26021&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=26021&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=26021&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=26021&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=26021&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26021&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=26021&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=26021&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=26021&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=26021&r=float

Reply via email to