From:             [EMAIL PROTECTED]
Operating system: Windows 2000
PHP version:      4.1.2
PHP Bug Type:     Session related
Bug description:  Session is not setting state

When running the following script with register_globals off or on, i get
proper results (the counter increments) under my production server
(freebsd 4.5, php 4.1.2).  Under my devoplement box (Win 2k), I get
nothing:

<?php

session_start();
  
if (!isset($_SESSION['count'])) {
    $_SESSION['count'] = 0;
} else {
    $_SESSION['count']++;
} 
  
echo $_SESSION['count'];
  
?>

Under win2k the session file is created in the proper directory, but is
not populated with the registered variables.  The cookie is set on the
client side.  
-- 
Edit bug report at http://bugs.php.net/?id=16734&edit=1
-- 
Fixed in CVS:        http://bugs.php.net/fix.php?id=16734&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=16734&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=16734&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=16734&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16734&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=16734&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=16734&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=16734&r=submittedtwice

Reply via email to