note 12647 deleted from r8924 by nlopess

From: Date: Fri, 25 Jun 2004 16:47:09 +0000
Subject: note 12647 deleted from r8924 by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-71676@lists.php.net to get a copy of this message
Note Submitter: thomas@prydslauritsen.nospamthanks.dk ---- <p>Worth noticing is that session_register() does not "put" the variable in the session at the time session_register() is used.</p><p>Instead, what is stored is the final value of the variable when the php script is done.</p><p>Therefore this is better: session_register("testVar"); $testVar = 4; $testVar = 5; // 5 is stored</p><p>than this: $testVar = 4; $testVar = 5; session_register("testVar");</p>

« previous php.notes (#71676) next »