From: peter at evident dot si Operating system: Win XP PHP version: 5.1.4 PHP Bug Type: Session related Bug description: Duplicated server requests caused by session_start
Description: ------------ I noticed that someone already reported this as a bug in May but it was not investigated and closed as bogus. As this definately is some strange issue between IE7 and PHP I am opening this again. It all comes down to the session: session_start(). Using simple example bellow and IE7 beta as client you will notice that apache server logs two client requests (original one and 5 sec duplicated one). Can't image what the relation is but this is the case. OS is Win XP running Apache 2 and PHP 5.1.2.2 No other browser client including IE6 or older causes this. Please look into this since it can cause serious problems. Reproduce code: --------------- I worked the problem down to the session_start() which is causing this. Please try this simple example: <?php session_start(); ?> <html> <body> <h1>Hello World!</h1> </body> </html> Using IE7 beta and PHP5.1.2.2 (Windows XP, Apache 2) makes a duplicated call 5 sec later (see apache logs). Removing session_start() makes no duplicates. Using any other browser including IE6 or previous makes no duplicates as well. Please look into this. There must be some strange connection between ie7 and php (5 or maybe others - didn't try) that makes session behave strangely. If you need any additional info I will gladly help. Expected result: ---------------- No fantom calls using IE7 / PHP. Actual result: -------------- With session_start() duplicated fantom calls are loged in apache logs. Without session_start() and any other browser then IE7 no duplicates. -- Edit bug report at http://bugs.php.net/?id=37859&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=37859&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=37859&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=37859&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=37859&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=37859&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=37859&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=37859&r=needscript Try newer version: http://bugs.php.net/fix.php?id=37859&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=37859&r=support Expected behavior: http://bugs.php.net/fix.php?id=37859&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=37859&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=37859&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=37859&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=37859&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=37859&r=dst IIS Stability: http://bugs.php.net/fix.php?id=37859&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=37859&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=37859&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=37859&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=37859&r=mysqlcfg