Page 1 of 1

Solution for downloadproblems with IE

Posted: 30 Dec 2009, 23:42
by hwevers
I have had many complaints lately that my files were not downloadable with IE. The error message was:
Internet Explorer cannot download File.doc from ServerName.

Internet Explorer was not able to open this Internet Site. The requested site is either unavailable or cannot be found. Please try again later."
After some googleing I found:http://support.microsoft.com/?kbid=317208

I tried to follow this by making changes to phocadownload.php as follows starting at line 86:

Code: Select all

//          header("Cache-Control: public, must-revalidate");
//          header('Cache-Control: pre-check=0, post-check=0, max-age=0');
//          header("Pragma: no-cache");
//          header("Expires: 0");
$expires = 60*60*24*14;
header("Pragma: public");
header("Cache-Control: maxage=".$expires);
header('Expires: ' . gmdate('D, d M Y H:i:s', time()+$expires) . ' GMT');
And lo and behold, all problems have gone. (other browsers will stay ok).
Henk

Re: Solution for downloadproblems with IE

Posted: 04 Jan 2010, 23:22
by Jan
Hi, thank you for this info

Jan