<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Dmitri's Blog &#187; IE bug</title>
	<atom:link href="http://www.dmitri.me/blog/tag/ie-bug/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.dmitri.me/blog</link>
	<description>Dmitri Smirnov. Web development in Estonia.</description>
	<lastBuildDate>Tue, 10 Aug 2010 12:07:30 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>IE session bug is solved</title>
		<link>http://www.dmitri.me/blog/ie-session-bug-is-solved/</link>
		<comments>http://www.dmitri.me/blog/ie-session-bug-is-solved/#comments</comments>
		<pubDate>Thu, 05 Feb 2009 09:07:40 +0000</pubDate>
		<dc:creator>Dmitri</dc:creator>
				<category><![CDATA[HTML and CSS]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[web-development]]></category>
		<category><![CDATA[work]]></category>
		<category><![CDATA[IE bug]]></category>
		<category><![CDATA[stupid microsoft]]></category>

		<guid isPermaLink="false">http://www.dmitri.me/blog/?p=207</guid>
		<description><![CDATA[IE has bug which deletes session data and brakes functionality of website. In other browsers all is working fine.
Here is example in PHP:

&#60;?php
print_r($_SESSION);
//output:
//Array ()
?&#62;

After half day of breaking brain and Google really fantastic solution for this problem, but no one of them didn&#8217;t solved our problem. So Mika found that if markup have empty src [...]]]></description>
			<content:encoded><![CDATA[<p>IE has bug which deletes session data and brakes functionality of website. In other browsers all is working fine.<br />
Here is example in PHP:<br />
<code><br />
&lt;?php<br />
print_r($_SESSION);<br />
//output:<br />
//Array ()<br />
?&gt;<br />
</code></p>
<p>After half day of breaking brain and Google really fantastic solution for this problem, but no one of them didn&#8217;t solved our problem. So <a href="http://www.appelsiini.net">Mika</a> found that if markup have empty <strong>src</strong> attribute, IE makes an empty request which breaks session data. So solution is simple check if there any empty <strong>src</strong> attributes and <strong>hrefs</strong> in link tag.</p>
<p>Was:<br />
&lt;img <span style="color:red">src=&quot;&quot;</span> alt=&quot;An image&quot; id=&quot;img&quot; /&gt;</p>
<p>You need to remove this empty attribute or if you don&#8217;t need this for javascript remove <strong>IMG</strong> tag at all.<br />
&lt;img <span style="color:#ccc;text-decoration:line-through;">src=&quot;&quot;</span> alt=&quot;An image&quot; id=&quot;img&quot; /&gt;</p>
<p>That&#8217;s really stupid.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.dmitri.me/blog/ie-session-bug-is-solved/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
