note 54790 added to function.session-start
| From: | andrejatagsmartdotcomdotau at osu1 dot php dot net | Date: | Fri, 15 Jul 2005 05:45:57 +0000 |
| Subject: | note 54790 added to function.session-start | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-92000@lists.php.net to get a copy of this message | ||
a quick note on sessions and ie6 losing them. this one took me months to work out..
in forefox everything worked fine between pages (in redirects and include statements) then in ie5
and 6 the session would be lost on only _one_ of my pages for no apparent reason.
long story short, it turned out that this particular failing page had references to broken images
with alt text of "no image". every time ie requested the image and couldnt find it it
displayed the icon of a broken image and killed the session as well! firefox behaved nicely and
displayed "no image"
an if statement later to display text instead of a broken image and everything worked. hope this
saves someone the headache it gave me..
servers affected: apache2/php4/win32, apache1/php4/linux and most likely more
----
Manual Page -- http://www.php.net/manual/en/function.session-start.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+54790
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+54790&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+54790&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+54790&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+54790&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+54790&report=yes&reason=non-english
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+54790&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+54790&report=yes
Search -- http://master.php.net/manage/user-notes.php