note 73795 deleted from function.session-set-save-handler by danbrown
| From: | danbrown@php.net | Date: | Sun, 23 Jan 2011 16:16:30 +0000 |
| Subject: | note 73795 deleted from function.session-set-save-handler by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-176036@lists.php.net to get a copy of this message | ||
Note Submitter: equazcion
----
I know this might be obvious, but session_set_save_handler() should only be called once per session,
or else your saved data will keep getting reset.
If your script doesn't have a predictable start page that will only be called only once per
session, place the session_set_save_handler statement in an include file, and call it via
require_once().