Re: cvs: php4(PHP_4_0_7) /ext/standard var.c
| From: | Thies C. Arntzen | Date: | Sat, 01 Dec 2001 18:33:26 +0000 |
| Subject: | Re: cvs: php4(PHP_4_0_7) /ext/standard var.c | ||
| References: | 1 2 3 4 5 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-8358@lists.php.net to get a copy of this message | ||
On Sat, Dec 01, 2001 at 05:11:18PM +0100, Sebastian Bergmann wrote:
> Sebastian Bergmann wrote:
> > "Thies C. Arntzen" wrote:
> >> bug id# ?
> >
> > Not available, since I told this Sascha and Zeev directly on IRC and
> > by mail.
>
> Here the mail I sent to them. Zeev fixed this in HEAD with the two
> most recent patches to
> http://cvs.php.net/cvs.php/php4/ext/session/session.c
zeev, should this be added to 4.1?
>
> Environment: PHP 4.2.0-dev (current HEAD from CVS) as CGI, Win32.
>
> This works
>
> <?php
> ini_set('register_globals', 0);
> session_register('foo');
> echo ++$_SESSION['foo'];
> ?>
>
> while this does not
>
> <?php
> ini_set('register_globals', 1);
> session_register('foo');
> echo ++$_SESSION['foo'];
> ?>
>
> Why is $_SESSION not populated when register_globals is on?
>
> --
> Sebastian Bergmann
> http://sebastian-bergmann.de/
> http://phpOpenTracker.de/
>
> Did I help you? Consider a gift:
> http://wishlist.sebastian-bergmann.de/
>
> --
> PHP CVS Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-cvs-unsubscribe@lists.php.net
> For additional commands, e-mail: php-cvs-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>