<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Fri, 24 May 2013 05:50:24 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[DotVoid.com: Problem with downloading files with Internet Explorer over HTTPS]]></title>
      <guid>http://www.phpdeveloper.org/news/13316</guid>
      <link>http://www.phpdeveloper.org/news/13316</link>
      <description><![CDATA[<p>
On the DotVoid.com blog <i>Danne</i> shares a <a href="http://www.dotvoid.com/2009/10/problem-with-downloading-files-with-internet-explorer-over-https/">quick tip</a> on forcing downloads over HTTPS to Internet Explorer (which, of course, has to be difficult about it).
</p>
<blockquote>
The problem is that Internet Explorer does not handle file dowloads without caching over https very well. Or at all. According to knowledge articles on Microsofts website the problem occurs when having one or two of the http headers. [...] Previously I have have just omitted the http header "Pragma: nocache" for IE but it seems it does not always help.
</blockquote>
<p>
So the fix is relatively simple - rely on the $_SERVER['HTTP_USER_AGENT'] value to tell if it's an IR browser or not. If it is, "Pragma: cache" works. If not, stick with "Pragma: no-cache".
</p>]]></description>
      <pubDate>Thu, 01 Oct 2009 09:48:28 -0500</pubDate>
    </item>
  </channel>
</rss>
