note 73192 deleted from function.session-destroy by googleguy

From: Date: Fri, 14 Sep 2012 05:21:28 +0000
Subject: note 73192 deleted from function.session-destroy by googleguy
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-190747@lists.php.net to get a copy of this message
Note Submitter: wade at defianceinteractive dot com ---- 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.

« previous php.notes (#190747) next »