Bug #6983 Updated: session_destroy() does not remove session

From: Date: Fri, 27 Apr 2001 22:48:58 +0000
Subject: Bug #6983 Updated: session_destroy() does not remove session
Groups: php.dev 
Request: Send a blank email to php-dev+get-52633@lists.php.net to get a copy of this message
ID: 6983 Updated by: sniper Reported By: ptemple@progressivepublishing.com 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] 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. --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=6983&edit=2

« previous php.dev (#52633) next »