#32065 [NEW]: session_start() ALWAYS makes a new session
| From: | mikegmarshall at hotmail dot com | Date: | Tue, 22 Feb 2005 14:06:35 +0000 |
| Subject: | #32065 [NEW]: session_start() ALWAYS makes a new session | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-74419@lists.php.net to get a copy of this message | ||
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:
---------------
<? session_start();
echo $session_id;
?>
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