Re: [PHP4BETA] PHP Sessions, globals and cashwars...
| From: | Andrei Zmievski | Date: | Mon, 05 Jun 2000 18:45:48 +0000 |
| Subject: | Re: [PHP4BETA] PHP Sessions, globals and cashwars... | ||
| References: | 1 2 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-16160@lists.php.net to get a copy of this message | ||
On Mon, 05 Jun 2000, Sascha Schumann wrote:
> > Sessions still manage to flake on me. Does it matter whether
> > session_register() comes before or after the definition of the variable?
>
> No
>
> > If
> > gpc_globals is off, do I have to use HTTP_SESSION_VARS("varname") =
> > something instead of $varname to get stuff saved?
>
> Yes (gpc_globals was renamed to register_globals)
Both ways will work, actually.
-Andrei
* I wish life had an UNDO function. *