ID: 28681 Comment by: php at alterego dot dp dot ua Reported By: s dot lemke at infoworxx dot de Status: Open Bug Type: Session related Operating System: Linux 2.4.18 PHP Version: 4.3.7 New Comment:
It definitely has something to do with ErrorDocument redirection. That 'not-found-image' turns out to be actually '302 found' with redirection to a page using the same php session_name. Browser gets all 'image' content, session gets modified, but that content is not an image actually, so browser can't render it. Again, that's why everything is ok when the picture is in it's place. That's the point. Details are for you to found. Everybody should always remember that s/he is dealing with the server in the first place, and only then things come to PHP. Nothing fantastic, has nothing to do with php itself, definetely a bogus bug report. Previous Comments: ------------------------------------------------------------------------ [2004-06-09 17:27:22] s dot lemke at infoworxx dot de Hi ! I have tried Internet Explorer 6.0 (win), Netscape 7.1 (win), Opera 7.22 (win), Safari (mac), Internet Explorer Mac 5.2 (mac) - the error is the same ! Keep in mind, that if the image file "not-found-image.gif" exists on the server everything is fine ! So if I try lynx it works ! Cheers ------------------------------------------------------------------------ [2004-06-09 17:07:31] [EMAIL PROTECTED] Can this behavior be duplicated in a specific browser or any browser? It is possible since the domain name is the same, a bug in the browser allows the cookies between the sub-domains to be shared. ------------------------------------------------------------------------ [2004-06-09 17:01:12] s dot lemke at infoworxx dot de ok, up to now I did not have set it. i have just tried it, i have added session_set_cookie_params (time()+60*60*24*30, "/", $_SERVER['SERVER_NAME']); before session_name in both scripts. The behaviour is the same. the $_SERVER['SERVER_NAME'] Variable holds "dev.abconline.de" Cheers Sebastian ------------------------------------------------------------------------ [2004-06-09 16:36:41] [EMAIL PROTECTED] Yes, but also please check if you have the session_set_cookie_params() calls to set the domain name. ------------------------------------------------------------------------ [2004-06-09 16:30:38] s dot lemke at infoworxx dot de You mean session.cookie_domain in PHP.ini ? No, it is the default value:; session.cookie_domain= Cheers, Sebastian ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/28681 -- Edit this bug report at http://bugs.php.net/?id=28681&edit=1