note 84003 added to function.session-destroy
| From: | james at dunmore dot me dot uk | Date: | Mon, 23 Jun 2008 15:25:05 +0000 |
| Subject: | note 84003 added to function.session-destroy | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-140740@lists.php.net to get a copy of this message | ||
If you are using a custom save handler (i.e. calling session_set_save_handler ) - like you would for
DB based session handling. If you call session_destroy, followed by session_start, you will get an
error.
You need to re-call session_set_save_handler with the lines you previously did (e.g.
session_set_save_handler('mysql_session_write_func') )
----
Server IP: 87.124.64.96
Probable Submitter: 193.128.117.15
----
Manual Page -- http://www.php.net/manual/en/function.session-destroy.php
Edit -- https://master.php.net/note/edit/84003
Del: integrated -- https://master.php.net/note/delete/84003/integrated
Del: useless -- https://master.php.net/note/delete/84003/useless
Del: bad code -- https://master.php.net/note/delete/84003/bad+code
Del: spam -- https://master.php.net/note/delete/84003/spam
Del: non-english -- https://master.php.net/note/delete/84003/non-english
Del: in docs -- https://master.php.net/note/delete/84003/in+docs
Del: other reasons-- https://master.php.net/note/delete/84003
Reject -- https://master.php.net/note/reject/84003
Search -- https://master.php.net/manage/user-notes.php