ID: 6983
Updated by: sniper
Reported By: [EMAIL PROTECTED]
Old-Status: Duplicate
Status: Closed
Bug Type: *Session related
PHP Version: 4.0.1pl2
Assigned To:
Comments:
Previous Comments:
---------------------------------------------------------------------------
[2000-10-03 00:10:39] [EMAIL PROTECTED]
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.
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=6983&edit=2
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]