note 52606 added to function.session-set-save-handler
| From: | RobertChapin at osu1 dot php dot net | Date: | Fri, 06 May 2005 21:09:35 +0000 |
| Subject: | note 52606 added to function.session-set-save-handler | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-89036@lists.php.net to get a copy of this message | ||
Session authentication is not meant to be part of the session handlers.
These handlers only read and write the session data itself, and will not allow you to call the vital
function session_regenerate_id().
To add extra authentication routines, call them after session_start returns control. DO NOT put
them in your 'open' or 'read' handlers.
Enjoy,
-- Miqro
----
Manual Page -- http://www.php.net/manual/en/function.session-set-save-handler.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+52606
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+52606&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+52606&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+52606&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+52606&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+52606&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+52606&report=yes
Search -- http://master.php.net/manage/user-notes.php