#26726 [NEW]: Problems with session when normal page is reloaded
| From: | jonny at bndlg dot de | Date: | Sat, 27 Dec 2003 16:02:36 +0000 |
| Subject: | #26726 [NEW]: Problems with session when normal page is reloaded | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-52521@lists.php.net to get a copy of this message | ||
From: jonny at bndlg dot de
Operating system: Linux, Debian 3.0 woody
PHP version: 4CVS-2003-12-27 (stable)
PHP Bug Type: Session related
Bug description: Problems with session when normal page is reloaded
Description:
------------
Problem occurs if this page is reloaded for the third time. The first two
times a new cookie is set with the same session id. The third time nothing
happens any more - the loading of the page hangs.
It is even curious to me that there is another Set-Cookie request with the
first reload of the page.
This behaviour started to occur with PHP-4.3.3, with PHP-4.3.2 everything
works as expected.
The sessions itself work fine. Only this problem with the reload of pages
occurs.
Here are my php.ini values for the session related stuff:
Registered save handlers files user mm
Directive Local Value Master Value
session.auto_start Off Off
session.bug_compat_42 On On
session.bug_compat_warn On On
session.cache_expire 180 180
session.cache_limiter nocache nocache
session.cookie_domain no value no value
session.cookie_lifetime 0 0
session.cookie_path / /
session.cookie_secure Off Off
session.entropy_file no value no value
session.entropy_length 0 0
session.gc_divisor 100 100
session.gc_maxlifetime 1440 1440
session.gc_probability 1 1
session.name PHPSESSID PHPSESSID
session.referer_check no value no value
session.save_handler files files
session.save_path /var/tmp/php-sessions /var/tmp/php-sessions
session.serialize_handler php php
session.use_cookies On On
session.use_only_cookies On On
session.use_trans_sid Off Off
Reproduce code:
---------------
<?php
session_start();
print "TEST";
?>
Expected result:
----------------
No more Set-Cookie requests with the reloads of the page.
--
Edit bug report at http://bugs.php.net/?id=26726&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=26726&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=26726&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=26726&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=26726&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=26726&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=26726&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=26726&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=26726&r=support
Expected behavior: http://bugs.php.net/fix.php?id=26726&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=26726&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=26726&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=26726&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26726&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=26726&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=26726&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=26726&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=26726&r=float