Sorry for the confusion. The variable has a value as soon as you assign it,
and you can use the variable in other statements within the same script.
However, the value does not get stored to the session file until after the
script ends.

Kirk

> -----Original Message-----
> From: Nikhil Goyal [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, May 03, 2001 2:51 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] Session Variables
> 
> 
> so the session variable is set only when the script ends? I 
> thought you
> indicated that they were set immediately...
> 
> Thanks for the quick reply,
> 
> Nikhil
> [EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to