News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

DotVoid.com:
Problem with downloading files with Internet Explorer over HTTPS
October 01, 2009 @ 09:48:28

On the DotVoid.com blog Danne shares a quick tip on forcing downloads over HTTPS to Internet Explorer (which, of course, has to be difficult about it).

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.

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".

0 comments voice your opinion now!
download file ie browser https tutorial


blog comments powered by Disqus

Similar Posts

Brian Swan's Blog: Consuming SQL Azure Data with the OData SDK for PHP

Content with Style: Linkedin and Zend_Oauth

HowTo Forge: How To Harden PHP5 With Suhosin On Fedora 7

PHPBuilder.com: AJAX and PHP Part 4 - Forms and JavaScript Limitations

QaFoo.com: Mocking with Phake


Community Events

Don't see your event here?
Let us know!


voicesoftheelephpant composer part2 laravel list interview introduction series podcast api php7 application community framework opinion yii2 project language example symfony

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework