ID:               16585
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Feedback
+Status:           No Feedback
 Bug Type:         Session related
 Operating System: Windows XP
 PHP Version:      4.1.2
 New Comment:

No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".


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

[2002-04-13 14:11:08] [EMAIL PROTECTED]

It's propably the same issue as everyone else is having.
Please try the PHP 4.2.0RC3 from http://www.php.net/~derick/
as others have reported that it works fine for them.

And don't forget to replace the php4ts.dll in your system
with the one in the 4.2.0RC3 package.


------------------------------------------------------------------------

[2002-04-13 06:50:03] [EMAIL PROTECTED]

Following the 'Session handling' documentation and expriencing problems
with a production script, I wrote the following test script:

test.php:
<?php
session_start();
echo "Session ID : ".session_id()."<BR>\r\n";
if( !isset( $_SESSION['Test'] ) )
{
        $_SESSION['Test'] = "bla bla bla";
        echo "Defined : ".$_SESSION['Test']."<BR>\r\n";
}
else
{
        echo "Existing : ".$_SESSION['Test']."<BR>\r\n";
}
//session_write_close();
?>

which I expect to set the 'Test' session variable on the first call to
the page and then return the 'Test' session variable on subsequent
calls to the script.

This works FINE with PHP 4.1.1 but DOES NOT WORK with PHP 4.1.2 (though
the session ID is the same). I had to revert to the old
'session_register()' function for the script to work in PHP 4.1.2,
$HTTP_SESSION_VARS not working either.

Any clue ?

Ce.D

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=16585&edit=1

Reply via email to