From: [EMAIL PROTECTED]
Operating system: Windows 2000
PHP version: 4.0.6
PHP Bug Type: Session related
Bug description: register_globals=off doen't fill $HTTP_SESSION_VARS
When I turn off the register_globals parameter in php.ini, php seems to
loose session tracking.
In the example below, the next page presents nothing except if I turn on
the register_globals parameter.
//--- first page
<?php
session_start();
$toto=2;
session_register('toto');
?>
<a href="next.php">next</a>
//--- next page
<?php
session_start();
echo $HTTP_SESSION_VARS['toto'];
?>
--
Edit bug report at: http://bugs.php.net/?id=14025&edit=1
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]