Bug #16345: can't register variables through $_SESSION

From: Date: Fri, 29 Mar 2002 16:01:02 +0000
Subject: Bug #16345: can't register variables through $_SESSION
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-3611@lists.php.net to get a copy of this message
From: cybermage@hirnstrudel.de 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

« previous php.bugs (#3611) next »