ID:               16585
 Comment by:       sean at seansilas dot com
 Reported By:      cedric dot dufour at cogito-ergo-soft dot com
 Status:           No Feedback
 Bug Type:         Session related
 Operating System: Windows XP
 PHP Version:      4.1.2
 New Comment:

This bug is EXTREMELEY ANNOYING, and very hard to replicate. Sometimes
it happens, other times it doesn't. Seems to happen more when the
server has been idle for awhile.

The big problem here, is that I cannot upgrade my PHP, because I am
using a remote hosting company that has 4.1.2 installed.

I have no idea what to do, and I'm extremely frustrated.

SS


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

[2002-05-14 00:00:04] php-bugs at lists dot php dot net

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".

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

[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] cedric dot dufour at cogito-ergo-soft dot com

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