ID: 16263 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Feedback Bug Type: Session related Operating System: Windows 2000 PHP Version: 4.1.2 New Comment:
YES!!! After long hours, the "global $HTTP_SESSION_VARS;" worked 4 me (PHP 4.1.2, WinXP, Apache 1.3.24, mod_php4). Today's my birthday!!! Thanks for so beautyful birthday gift!!! (it curious that the tip was post just a few hours ago). Previous Comments: ------------------------------------------------------------------------ [2002-04-20 00:42:06] [EMAIL PROTECTED] This advice might be worth millions for some, after a sleepless night and endless code comparisons, i found out that adding global $HTTP_SESSION_VARS; right after the session_start(); solves the problem, even when using $_SESSION for your coding which is supposed to be global anyways, so till a formal fix comes up i hope this will help you too.. session_start(); global $HTTP_SESSION_VARS; $_SESSION["HELLO"]="WORLD"; etc. ------------------------------------------------------------------------ [2002-04-17 04:33:30] [EMAIL PROTECTED] I did exchange all dll's, didn't help with the problem. Sometimes it takes a little while to "loose" the session data, somethimes it happens quickly... ------------------------------------------------------------------------ [2002-04-15 20:27:19] [EMAIL PROTECTED] once again, whenever you update/downgrade PHP remember to replace ALL the dlls and other binaries in your systems with the ones found in the release packages. ------------------------------------------------------------------------ [2002-04-15 15:21:23] [EMAIL PROTECTED] Problem still exists in PHP 4.2.0 rc4. ------------------------------------------------------------------------ [2002-04-15 14:44:20] [EMAIL PROTECTED] I use Apache 1.3.23 and PHP 4.1.0 as an ISAPI module on Windows2000 SP2 with NTFS. I tried 4.1.2 when it came out and today - 15/4/2002 - 4.2.0 RC4. I keep have to downgrade back to 4.1.0 because my complete session-based website ceased to work when using ANY PHP version greater than 4.1.0 (however never tried 4.1.1). It heavily relies on URL transmitted sessions .... so without cookies. I set register_globals to OFF en use $_SESSION etc throughout the app. I'm really curious when sessions will work again, since I'd like to benefit from the solved security issues of 4.1.x in >= 4.1.2. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/16263 -- Edit this bug report at http://bugs.php.net/?id=16263&edit=1