Contact

Subscribe

follow us on Twitter
 

SSL IE File Download Problem and Solution

We've just installed an SSL certificate for a client whose website has a built in file manager. Each file download is passed through a series of PHP scripts to analyse the origin of the download and so on. To do this the file itself is read through PHP and held in a cache (as far as IE is concerned anyway). When the SSL was installed this system broke with Firefox behaving normally, but IE giving a message indicating that the file could not be found.

The solution was, in the end, quite a simple one thankfully. The header for the downloaded file needed to be changed from

header('Cache-Control: public');

to

header('Cache-Control: private');
header('Pragma: private');

and the job was done.

Published: 26-01-10 by Jon Sloper

Alacrify Ltd. 01300 320076. jon@alacrify.co.uk

Prev Month

September 2010

Next Month
MoTuWeThFrSaSu
30310102030405
06070809101112
13141516171819
20212223242526
27282930010203

Features


GALLERIES

Links

Courses

Events

Diary