From: eschultz at lwmc dot com Operating system: Server2003 w/ IIS 6 PHP version: 5.1.4 PHP Bug Type: Session related Bug description: Sessions are dropped randomly with ie7
Description: ------------ I have developed a web application that uses a session variable that only allows valid users to use any page with in the app. While beta testing my app with the new IE7 the session variables will be dropped randomly and redirect me to my unauth users page. Reproduce code: --------------- if($_SESSION['valid']!="yes") { header("Refresh: 0; URL=$folder/unauth_user.php"); exit; } Expected result: ---------------- when the session variable 'valid' is not set to yes, the user was never authorized to view this page. The user should then be redirected to the unauth_user.php page. Actual result: -------------- The code is working correctly, the problem is that a valid user will get redirected by accident because the variable resets or loses its value -- Edit bug report at http://bugs.php.net/?id=37382&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=37382&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=37382&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=37382&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=37382&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=37382&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=37382&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=37382&r=needscript Try newer version: http://bugs.php.net/fix.php?id=37382&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=37382&r=support Expected behavior: http://bugs.php.net/fix.php?id=37382&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=37382&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=37382&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=37382&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=37382&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=37382&r=dst IIS Stability: http://bugs.php.net/fix.php?id=37382&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=37382&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=37382&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=37382&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=37382&r=mysqlcfg