From: [EMAIL PROTECTED]
Operating system: Windows 2000/XP
PHP version: 4.1.2
PHP Bug Type: Session related
Bug description: follow up bug 16043, $_SESSION can't use in PHP 4.1.2, PHP 4.2.0RC1
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 bug report at http://bugs.php.net/?id=16435&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=16435&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=16435&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=16435&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=16435&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16435&r=support
Expected behavior: http://bugs.php.net/fix.php?id=16435&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=16435&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=16435&r=submittedtwice