Re: REVIEW: Imminent session patch
| From: | Rasmus Lerdorf | Date: | Wed, 02 Oct 2002 21:10:22 +0000 |
| Subject: | Re: REVIEW: Imminent session patch | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-88901@lists.php.net to get a copy of this message | ||
Hrm, but that documentation is very out of date and didn't match the code
even when it was written.
On Wed, 2 Oct 2002, Sascha Schumann wrote:
> > But that is a bit of a twist of what "register_globals" is supposed to
> > mean. As far as I am concerned register_globals only affects how data is
> > imported into PHP. Having that flag trigger other behaviours is
> > completely undocumented and outside the scope of the original intent of
> > register_globals. You are effectively overloading register_globals.
>
> Nope, it is not.
>
> If track_vars is enabled and register_globals is disabled,
> only members of the global associative array
> $HTTP_SESSION_VARS can be registered as session variables.
> The restored session variables will only be available in the
> array $HTTP_SESSION_VARS.
>
> http://de.php.net/manual/en/ref.session.php
>
> - Sascha
>