Re: [PHP4BETA] PHP Sessions, globals and cashwars...
[email protected] (Andrei Zmievski) Mon, 5 Jun 2000 13:45:48 -0500
| Newsgroups | php.version4 |
|---|---|
| Message-ID | <[email protected]> |
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. *