PHP 4.0 Bug #6983: session_destroy() does not remove session
| From: | ptemple at progressivepublishing dot com | Date: | Tue, 03 Oct 2000 04:10:39 +0000 |
| Subject: | PHP 4.0 Bug #6983: session_destroy() does not remove session | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-34043@lists.php.net to get a copy of this message | ||
From: ptemple@progressivepublishing.com
Operating system: Windows 2000
PHP version: 4.0.1pl2
PHP Bug Type: *Session related
Bug description: session_destroy() does not remove session
I cannot seem to log a user out using the following script:
session_start();
session_unregister('varname');
session_destroy();
Header("Location: <homepageurl>");
The session file does not get deleted and the user is not prompted for username/password upon
returning to the protected page.
Ta,
Phillip.