note 17278 added to function.session-register

From: Date: Mon, 03 Dec 2001 09:29:13 +0000
Subject: note 17278 added to function.session-register
Groups: php.notes 
Request: Send a blank email to php-notes+get-21551@lists.php.net to get a copy of this message
<p>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. -- http://www.php.net/manual/en/function.session-register.php http://master.php.net/manage/user-notes.php?action=edit+17278 http://master.php.net/manage/user-notes.php?action=delete+17278 http://master.php.net/manage/user-notes.php?action=reject+17278

« previous php.notes (#21551) next »