ID: 25966 User updated by: kevin at netsmith dot ltd dot uk Reported By: kevin at netsmith dot ltd dot uk Status: Open Bug Type: Session related Operating System: Red Hat Linux 7.2 PHP Version: 4.3.2 New Comment:
[PHP Modules] ctype mysql overload pcre posix session standard tokenizer xml Previous Comments: ------------------------------------------------------------------------ [2003-10-23 08:16:35] kevin at netsmith dot ltd dot uk Description: ------------ My PHP version is 4.3.2-RC2 I have an include file which executes a bunch of PHP code and outputs HTML. I also store session variables. I noticed that if I put the following HTML tag inside the include file: <img src="" height="5" width="5"> My session data gets reset. Ok, the point here is no one should have an empty image source tag. When the src is populated, the problem does not occur. Reproduce code: --------------- <? include('/path/to/the/file.php'); ?> Expected result: ---------------- User should continue onto the next page of the website. Actual result: -------------- My error checking reports that the user is no longer logged in. This is due to the session variable being reset by this HTML code. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=25966&edit=1