PHP 4.0 Bug #6983 Updated: session_destroy() does not remove session
| From: | Bug Database | Date: | Tue, 03 Oct 2000 06:57:41 +0000 |
| Subject: | PHP 4.0 Bug #6983 Updated: session_destroy() does not remove session | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-34056@lists.php.net to get a copy of this message | ||
ID: 6983
Updated by: waldschrott
Reported By: ptemple@progressivepublishing.com
Status: Duplicate
Bug Type: *Session related
Assigned To:
Comments:
this is dup without further information, #5231 reopened
Previous Comments:
---------------------------------------------------------------------------
[2000-10-03 00:10:39] ptemple@progressivepublishing.com
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.
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=6983