note 17278 deleted from function.session-register by john
| From: | john@php.net | Date: | Tue, 17 Dec 2002 09:25:31 +0000 |
| Subject: | note 17278 deleted from function.session-register by john | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-41002@lists.php.net to get a copy of this message | ||
A common misconception about session_register() is to think that it continually monitors the
variables you register for any changes you may make. All it does is register the CURRENT VALUE of
those variables at the time you issue session_register().
Thus, you DO NOT need to issue session_register() at the START of your program, but rather at the
END of your program -- after any and all changes to session variables will have been made.