Bug #16435 Updated: follow up bug 16043, $_SESSION can't use in PHP 4.1.2, PHP 4.2.0RC1

From: Date: Fri, 05 Apr 2002 00:29:25 +0000
Subject: Bug #16435 Updated: follow up bug 16043, $_SESSION can't use in PHP 4.1.2, PHP 4.2.0RC1
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-4077@lists.php.net to get a copy of this message
ID: 16435 Updated by: sniper@php.net Reported By: leef@sdc-moses.com -Status: Open +Status: Feedback Bug Type: Session related Operating System: Windows 2000/XP PHP Version: 4.1.2 New Comment: At http://www.php.net/~derick/ you can find RC2 so please test with that. Did you replace the php4ts.dll also? --Jani Previous Comments: ------------------------------------------------------------------------ [2002-04-04 15:03:13] leef@sdc-moses.com I seem to have configuration problems....i just can't seem to get session variables written to in files under win2000, NTFS w/ Apache 1.3.23 and PHP 4.1.2 ......i've already done everything from session_start() on every page to making var global....anybody can help?? thanks....btw, i got the same system on a Linux box running apache and php and it works fine.... sample of my code: <? session_start(); global $user_id; if (!isset($_SESSION['user_id'])) { $_SESSION['user_id'] = "someone"; print false; } else { print $_SESSION['user_id']; print true; } ?> Apparently under the bug report database for bug number 16043, my exactly problem was described. According to the PHP team, this windows/apache1.3.23/php4.1.2 session not writing to file bug has been fixed in the 4.2.0RC1 binaries. I've patched my php4apache.dll with the ones from 4.2.0RC1 AND it still doesn't work!!! Anyone who used 4.2.0RC1 came across this problem and made it work? ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=16435&edit=1

« previous php.bugs (#4077) next »