RE: [PHP] Session Variables
| From: | Johnson, Kirk | Date: | Thu, 03 May 2001 21:03:02 +0000 |
| Subject: | RE: [PHP] Session Variables | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-51336@lists.php.net to get a copy of this message | ||
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:ngoyal@nypirg.org]
> Sent: Thursday, May 03, 2001 2:51 PM
> To: php-general@lists.php.net
> 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
> php-list-admin@lists.php.net