<?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>Omal Raj - Flex Boy &#187; Miscellaneous</title>
	<atom:link href="http://omalraj.com/category/miscellaneous/feed/" rel="self" type="application/rss+xml" />
	<link>http://omalraj.com</link>
	<description></description>
	<lastBuildDate>Wed, 17 Jun 2009 17:40:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>IE error &#8211; Internet explorer cannot download &#8230;.</title>
		<link>http://omalraj.com/2009/06/ie-error-internet-explorer-cannot-download/</link>
		<comments>http://omalraj.com/2009/06/ie-error-internet-explorer-cannot-download/#comments</comments>
		<pubDate>Mon, 15 Jun 2009 09:18:18 +0000</pubDate>
		<dc:creator>Omal Raj</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[IE error]]></category>

		<guid isPermaLink="false">http://omalraj.com/?p=4</guid>
		<description><![CDATA[I recently encountered an error while trying to download a file (.pdf) through IE 8. It reported - &#8220;Internet explorer cannot download&#8230;. Internet explorer was not able to open this internet site. &#8230;&#8221; All the other browsers were able to download the file with out any issues. I googled with the error string and found [...]]]></description>
			<content:encoded><![CDATA[<p>I recently encountered an error while trying to download a file (.pdf) through IE 8. It reported -</p>
<p>&#8220;Internet explorer cannot download&#8230;.<br />
Internet explorer was not able to open this internet site. &#8230;&#8221;</p>
<p>All the other browsers were able to download the file with out any issues.</p>
<p>I googled with the error string and found several suggestions, most of them being over the protocol  &#8220;https&#8221;, but for me it was &#8220;http&#8221;. And the results suggested to make a change in IE settings <img src='http://omalraj.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  . My client cannot go over his customers and say that the settings on IE should be changed to download the file.<br />
<span id="more-4"></span></p>
<p>This link suggested a solution &#8211; <a href="http://support.microsoft.com/kb/812935">http://support.microsoft.com/kb/812935</a></p>
<p><em>This issue may occur if any one or more of  the following conditions are true: </em></p>
<ul>
<li><em>The <strong class="uiterm">Do not save encrypted pages to disk</strong> check box is selected in Internet Explorer 6.0 SP1.</em></li>
<li><em>The server sends the &#8220;Cache-Control: No Store&#8221; header.</em></li>
<li><em>The server sends the &#8220;Cache-Control: No Cache&#8221; header.</em></li>
</ul>
<p>Well, all that I have to do was to send an updated header from my page in php</p>
<pre class="code">
<span style="color: #0000BB">header</span><span style="color: #007700">(</span><span style="color: #DD0000">'Content-type:&nbsp;application/pdf'</span><span style="color: #007700">);
</span><span style="color: #0000BB">header</span><span style="color: #007700">(</span><span style="color: #DD0000">'Cache-Control:&nbsp;cache,&nbsp;must-revalidate'</span><span style="color: #007700">);
</span><span style="color: #0000BB">header</span><span style="color: #007700">(</span><span style="color: #DD0000">'Pragma:&nbsp;public'</span><span style="color: #007700">);&nbsp;
</pre>
<p>It resolved the issue for me <img src='http://omalraj.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  .</p>
]]></content:encoded>
			<wfw:commentRss>http://omalraj.com/2009/06/ie-error-internet-explorer-cannot-download/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
