ID:               26726
 User updated by:  jonny at bndlg dot de
 Reported By:      jonny at bndlg dot de
-Status:           Feedback
+Status:           Open
 Bug Type:         Session related
 Operating System: Linux, Debian 3.0 woody
 PHP Version:      4CVS-2003-12-27 (stable)
 New Comment:

Sorry, but I forgot to mention one thing. This behaviour only occurs if
you use Internet Explorer and you enable cookie notifications. If you
accept cookies automatically all works fine.

I use Internet Explorer 6.0 with the latest patches, but the behaviour
depends on the PHP version. It only occurs with PHP >= 4.3.3.


Previous Comments:
------------------------------------------------------------------------

[2004-01-01 20:54:15] [EMAIL PROTECTED]

Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.




------------------------------------------------------------------------

[2003-12-27 11:02:35] jonny at bndlg dot de

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 this bug report at http://bugs.php.net/?id=26726&edit=1

Reply via email to