Re: Request for new feature: $HTTP_SESSION_VARS whenregister_globals = on

From: Date: Mon, 09 Apr 2001 09:01:06 +0000
Subject: Re: Request for new feature: $HTTP_SESSION_VARS whenregister_globals = on
References: 1 2  Groups: php.dev 
Request: Send a blank email to php-dev+get-51175@lists.php.net to get a copy of this message
From: "Carsten Gehling" <carsten@sarum.dk> Sent: Monday, April 09, 2001 9:31 AM Subject: Re: [PHP-DEV] Request for new feature: $HTTP_SESSION_VARS whenregister_globals = on > From: "Alexander Feldman" <alex@zend.com> > Sent: Friday, April 06, 2001 10:46 PM > > > Hm, very strange. You are absolutely right - I do not see any problems as > > well. Not only with the current cvs but with the older phps also... But I > > am sure I have seen some time ago exactly what was described by Carsten > > Gehling. Maybe it is kind of group hallucination ;) > > Try this: <snip> Or this, which is slightly more interesting: ==================== <?php session_start(); session_register("c"); echo "#".SID."#<br>"; $HTTP_SESSION_VARS["c"] = $HTTP_SESSION_VARS["c"] + 1; var_dump($HTTP_SESSION_VARS); ?> ==================== On the first run, SID is displayed in the browser, but when reloading the page, SID is empty. As a side note: I run PHP 4.0.4pl1 as CGI on Win2k IIS5. - Carsten

« previous php.dev (#51175) next »