#32065 [Bgs]: session_start() ALWAYS makes a new session
ID: 32065 User updated by: mikegmarshall at hotmail dot com Reported By: mikegmarshall at hotmail dot com Status: Bogus Bug Type: IIS related Operating System: Windows 2000 IIS5 PHP Version: 5.0.3 New Comment: Just a note in case anyone finds this thread whilst looking for the same problem - turning off the option "Cache ISAPI applications" in IIS5 seems to fix it, although I am using the cgi version. Go figure. Previous Comments: [2005-02-24 23:57:54] [EMAIL PROTECTED] Please, ask such questions in support forums. Check if your browser recieves session cookie, check if it does send it back etc. etc. [2005-02-24 17:51:03] mikegmarshall at hotmail dot com Very strange. As I reported, Windows Update seemed to fix it, but only temporarily. Its now happening again, same script, same setup. Searching the web, I have found other reports of identical problems, but not enough to suggest that this applies to all instances of PHP on IIS5. This leads me to think its an IIS5 config problem, tho I can't for the life of me think what. Any pointers? [2005-02-22 17:26:23] [EMAIL PROTECTED] We mark such reports as bogus. [2005-02-22 16:17:09] mikegmarshall at hotmail dot com I am a very experienced IT Support/Software Engineer...I spend all day telling people to "get the latest updates"...you would think I would listen to my own advice wouldn't ya :) I did all the updates at windowsupdate.com - no idea which one fixed it, but there were about 15. One of them did it. *hangs head in shame* ---- [2005-02-22 15:06:34] mikegmarshall at hotmail dot com Description: When I call session_start() with IIS5, it always creates a new session. I have 2 servers - both with PHP 5.0.3, one with IIS 5 and one with IIS6. php.ini is identical in both (i.e. copied from one to the other). On the IIS6 machine, the SID echoed never changes if I press refresh. On the IIS5 machine it generates a new SID every 1-2 mins of inactivity. I have not yet found a suitable workaround. Reproduce code: --- Wait 60 secs or so and press refresh - the SID changes. Expected result: The sessionid that is echoed should remain the same. Actual result: -- The SID changes. -- Edit this bug report at http://bugs.php.net/?id=32065&edit=1
#32065 [Bgs->Opn]: session_start() ALWAYS makes a new session
ID: 32065 User updated by: mikegmarshall at hotmail dot com Reported By: mikegmarshall at hotmail dot com -Status: Bogus +Status: Open Bug Type: IIS related Operating System: Windows 2000 IIS5 PHP Version: 5.0.3 New Comment: Very strange. As I reported, Windows Update seemed to fix it, but only temporarily. Its now happening again, same script, same setup. Searching the web, I have found other reports of identical problems, but not enough to suggest that this applies to all instances of PHP on IIS5. This leads me to think its an IIS5 config problem, tho I can't for the life of me think what. Any pointers? Previous Comments: [2005-02-22 17:26:23] [EMAIL PROTECTED] We mark such reports as bogus. [2005-02-22 16:17:09] mikegmarshall at hotmail dot com I am a very experienced IT Support/Software Engineer...I spend all day telling people to "get the latest updates"...you would think I would listen to my own advice wouldn't ya :) I did all the updates at windowsupdate.com - no idea which one fixed it, but there were about 15. One of them did it. *hangs head in shame* [2005-02-22 15:06:34] mikegmarshall at hotmail dot com Description: When I call session_start() with IIS5, it always creates a new session. I have 2 servers - both with PHP 5.0.3, one with IIS 5 and one with IIS6. php.ini is identical in both (i.e. copied from one to the other). On the IIS6 machine, the SID echoed never changes if I press refresh. On the IIS5 machine it generates a new SID every 1-2 mins of inactivity. I have not yet found a suitable workaround. Reproduce code: --- Wait 60 secs or so and press refresh - the SID changes. Expected result: The sessionid that is echoed should remain the same. Actual result: -- The SID changes. -- Edit this bug report at http://bugs.php.net/?id=32065&edit=1
#32065 [Opn->Csd]: session_start() ALWAYS makes a new session
ID: 32065 User updated by: mikegmarshall at hotmail dot com Reported By: mikegmarshall at hotmail dot com -Status: Open +Status: Closed Bug Type: IIS related Operating System: Windows 2000 IIS5 PHP Version: 5.0.3 New Comment: I am a very experienced IT Support/Software Engineer...I spend all day telling people to "get the latest updates"...you would think I would listen to my own advice wouldn't ya :) I did all the updates at windowsupdate.com - no idea which one fixed it, but there were about 15. One of them did it. *hangs head in shame* Previous Comments: [2005-02-22 15:06:34] mikegmarshall at hotmail dot com Description: When I call session_start() with IIS5, it always creates a new session. I have 2 servers - both with PHP 5.0.3, one with IIS 5 and one with IIS6. php.ini is identical in both (i.e. copied from one to the other). On the IIS6 machine, the SID echoed never changes if I press refresh. On the IIS5 machine it generates a new SID every 1-2 mins of inactivity. I have not yet found a suitable workaround. Reproduce code: --- Wait 60 secs or so and press refresh - the SID changes. Expected result: The sessionid that is echoed should remain the same. Actual result: -- The SID changes. -- Edit this bug report at http://bugs.php.net/?id=32065&edit=1
#32065 [NEW]: session_start() ALWAYS makes a new session
From: mikegmarshall at hotmail dot com Operating system: Windows 2000 IIS5 PHP version: 5.0.3 PHP Bug Type: IIS related Bug description: session_start() ALWAYS makes a new session Description: When I call session_start() with IIS5, it always creates a new session. I have 2 servers - both with PHP 5.0.3, one with IIS 5 and one with IIS6. php.ini is identical in both (i.e. copied from one to the other). On the IIS6 machine, the SID echoed never changes if I press refresh. On the IIS5 machine it generates a new SID every 1-2 mins of inactivity. I have not yet found a suitable workaround. Reproduce code: --- Wait 60 secs or so and press refresh - the SID changes. Expected result: The sessionid that is echoed should remain the same. Actual result: -- The SID changes. -- Edit bug report at http://bugs.php.net/?id=32065&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=32065&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=32065&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=32065&r=trysnapshot51 Fixed in CVS:http://bugs.php.net/fix.php?id=32065&r=fixedcvs Fixed in release:http://bugs.php.net/fix.php?id=32065&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=32065&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=32065&r=needscript Try newer version: http://bugs.php.net/fix.php?id=32065&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=32065&r=support Expected behavior: http://bugs.php.net/fix.php?id=32065&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=32065&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=32065&r=submittedtwice register_globals:http://bugs.php.net/fix.php?id=32065&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=32065&r=php3 Daylight Savings:http://bugs.php.net/fix.php?id=32065&r=dst IIS Stability: http://bugs.php.net/fix.php?id=32065&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=32065&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=32065&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=32065&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=32065&r=mysqlcfg