note 19380 added to function.session-unset

From: Date: Tue, 26 Feb 2002 06:23:45 +0000
Subject: note 19380 added to function.session-unset
Groups: php.notes 
Request: Send a blank email to php-notes+get-27045@lists.php.net to get a copy of this message
To delete erase all session variables completely, you also have to erase the cookie on the client side as follows: // Now remove Cookie (Start new session) setcookie(session_name(),"","","/"); That actually starts a new session with no variables set. -- http://www.php.net/manual/en/function.session-unset.php http://master.php.net/manage/user-notes.php?action=edit+19380 http://master.php.net/manage/user-notes.php?action=delete+19380 http://master.php.net/manage/user-notes.php?action=reject+19380

« previous php.notes (#27045) next »