From: [EMAIL PROTECTED]
Operating system: Windows XP Professional
PHP version: 4.1.2
PHP Bug Type: Session related
Bug description: can't register variables through $_SESSION
foo.php:
<?php
session_start();
$_SESSION['test'] = 'hello';
?>
bar.php:
<?php
session_start();
echo $_SESSION['test'];
?>
bar.php says "Warning: Undefined index: test"
if i use session_register('test') in foo.php, all works properly
i'm using php as module of Apache/1.3.23
--
Edit bug report at http://bugs.php.net/?id=16345&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=16345&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=16345&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=16345&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=16345&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16345&r=support
Expected behavior: http://bugs.php.net/fix.php?id=16345&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=16345&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=16345&r=submittedtwice