Contact

Subscribe

Recent 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

March 2010

Next Month
MoTuWeThFrSaSu
01020304050607
08091011121314
15161718192021
22232425262728
29303101020304

Features


GALLERIES

Links

Events

Diary