note 73192 added to function.session-destroy

From: Date: Mon, 12 Feb 2007 19:59:24 +0000
Subject: note 73192 added to function.session-destroy
Groups: php.notes 
Request: Send a blank email to php-notes+get-123293@lists.php.net to get a copy of this message
You should also be careful when you destroy a session. I believe a previous user posted something similar to this but didn't emphasize this point. If you are creating a new session, but want to make sure that there are currently no sessions active by doing session_destroy(); make sure you start the session again using session_start(); or else your session data will not register properly. ---- Server IP: 64.71.164.2 Probable Submitter: 69.27.22.2 ---- Manual Page -- http://www.php.net/manual/en/function.session-destroy.php Edit -- https://master.php.net/note/edit/73192 Del: integrated -- https://master.php.net/note/delete/73192/integrated Del: useless -- https://master.php.net/note/delete/73192/useless Del: bad code -- https://master.php.net/note/delete/73192/bad+code Del: spam -- https://master.php.net/note/delete/73192/spam Del: non-english -- https://master.php.net/note/delete/73192/non-english Del: in docs -- https://master.php.net/note/delete/73192/in+docs Del: other reasons-- https://master.php.net/note/delete/73192 Reject -- https://master.php.net/note/reject/73192 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#123293) next »