note 51001 added to function.session-destroy

From: Date: Wed, 16 Mar 2005 09:09:25 +0000
Subject: note 51001 added to function.session-destroy
Groups: php.notes 
Request: Send a blank email to php-notes+get-86533@lists.php.net to get a copy of this message
Note that there's a bug with custom session handlers and when you want to start a session again after you have called session_destroy. session_destroy disables the custom session_handler and this a call to session_start after it will fail with "Failed to initialize storage module". See http://bugs.php.net/32330 for more information and a workaround. ---- Manual Page -- http://www.php.net/manual/en/function.session-destroy.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+51001 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+51001&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+51001&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+51001&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+51001&report=yes&reason=useless Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+51001&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+51001&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#86533) next »