ID: 16345 Updated by: [EMAIL PROTECTED] -Summary: can't register variables through $_SESSION -Reported By: [EMAIL PROTECTED] +Reported By: [EMAIL PROTECTED] -Status: Open +Status: Duplicate Bug Type: Session related -Operating System: Windows XP Professional +Operating System: Linux (Debian) -PHP Version: 4.1.2 +PHP Version: 4.1.1
Previous Comments: ------------------------------------------------------------------------ [2002-03-29 11:09:39] [EMAIL PROTECTED] This is a duplicate of the session bug found here: http://bugs.php.net/bug.php?id=16102 ------------------------------------------------------------------------ [2002-03-29 11:01:01] [EMAIL PROTECTED] 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 this bug report at http://bugs.php.net/?id=16345&edit=1