Re: [PHP4BETA] Is autoregister of HTTP_STATE_VARS possible?
| From: | Andrei Zmievski | Date: | Tue, 07 Mar 2000 19:50:58 +0000 |
| Subject: | Re: [PHP4BETA] Is autoregister of HTTP_STATE_VARS possible? | ||
| References: | 1 2 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-11703@lists.php.net to get a copy of this message | ||
On Tue, 07 Mar 2000, Shane Burrell wrote:
> After looking at the session code and examining what would take place if
> globals were set to off and track_vars were on I think either setting
> HTTP_STATE_VARS which is not registered should throw an error or
> HTTP_STATE_VARS during a set with global off and track vars on should check to
> see if the var is in session and if not register it. I may be overlooking the
> reason for not doing this. If the latter is correct I'd be glad to help out
> and attempt a patch.
The reason is that it's not possible for an extension to know that
something was set in the $HTTP_STATE_VARS[] array.
-Andrei
Windows 2000 is certified not to crash more than
once a day, so what is the bootup time, 24 hours?
-- Sam Liddicott