ID: 42791 Comment by: hardik dot akbari at etatvasoft dot com Reported By: dron007 at yahoo dot com Status: No Feedback Bug Type: Session related Operating System: Linux PHP Version: 5.2.4 New Comment:
i think this is one of the possible reason for this bug. <img src=''> causes IE 7 to reset php session variable... so put a check that src attribute should not be blank.. Previous Comments: ------------------------------------------------------------------------ [2008-08-06 05:45:51] hardik dot akbari at yahoo dot com i am facing the same problem in internet explorer. in ie 7 , <img src="pathtoimage"> resets session variables. i am using apache 2.2.9 , php 5.2.7-dev. this seems browser problem than php.. ------------------------------------------------------------------------ [2007-11-27 16:40:45] martin at limitless dot co dot uk I have recently come across this bug in PHP Version 5.1.4. The code was <img src="#"> that caused the session variables to reset. The system is running Apache 1.3 on Solaris 10. If I can provide any other useful information, just let me know. ------------------------------------------------------------------------ [2007-10-07 01:00:01] php-bugs at lists dot php dot net No feedback was provided for this bug for over a week, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2007-10-01 10:37:44] dron007 at inbox dot ru Yes, that was IE6. With FF and Opera everything works fine. Probably that is browser issue but it is very weird thing because if I add another session variable that is not nulled IE shows this variable and doesn't show nulled one. FF shows both of them. That means that session cookie is sent in both cases. Also if I move $_SESSION["some_var"] = null; inside "if" statement it works fine too. ------------------------------------------------------------------------ [2007-09-29 02:36:46] [EMAIL PROTECTED] With what browser are you trying this with? IIRC, there was some issue with IE and broken html and it not sending some headers then. ------------------------------------------------------------------------ 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/42791 -- Edit this bug report at http://bugs.php.net/?id=42791&edit=1