From: jsimms98 at yahoo dot com Operating system: XP PHP version: 5.0.4 PHP Bug Type: Session related Bug description: Session ID Regenerate
Description: ------------ I have installed Apache 2.0.54 and PHP 5.0.4 onto Windows XP. Everything is running properly with the exception of the use of session variables. When I run the application as localhost sessions are being defined properly and the application is running fine. When I try to connect through the network name or IP Address the session variables are being regenerated on each page causing the application to believe that defined Session Variables tdo not exist. Reproduce code: --------------- <---- Session Variables defined $_SESSION["sesFinCENOS08-01usrname"] = $HTTP_POST_VARS["u_name"]; $_SESSION["sesFinCENOS08-01pwd"] = $HTTP_POST_VARS["pwd"]; $_SESSION["sesFinCENOS08-01hasLogin"] = TRUE; Expected result: ---------------- for the session to carry over to the next page as long as browser doesnt time out or close. Actual result: -------------- Each page the sessions are not visible through the script and is failing to continue to run the application . -- Edit bug report at http://bugs.php.net/?id=34296&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=34296&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=34296&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=34296&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=34296&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=34296&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=34296&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=34296&r=needscript Try newer version: http://bugs.php.net/fix.php?id=34296&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=34296&r=support Expected behavior: http://bugs.php.net/fix.php?id=34296&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=34296&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=34296&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=34296&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=34296&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=34296&r=dst IIS Stability: http://bugs.php.net/fix.php?id=34296&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=34296&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=34296&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=34296&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=34296&r=mysqlcfg