ID:               16345
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Open
 Bug Type:         Session related
 Operating System: Windows XP Professional
 PHP Version:      4.1.2
 New Comment:

This is a duplicate of the session bug found here:
   http://bugs.php.net/bug.php?id=16102


Previous Comments:
------------------------------------------------------------------------

[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

Reply via email to