note 55594 deleted from function.header by tularis

From: Date: Fri, 20 Apr 2007 14:45:04 +0000
Subject: note 55594 deleted from function.header by tularis
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-125660@lists.php.net to get a copy of this message
Note Submitter: memoimyself at yahoo dot com dot br ---- PROBLEM: File downloads work fine with browsers other than Internet Explorer, but when IE is used, the following error message is issued: "Internet Explorer cannot download file from server. Internet Explorer was not able to open this Internet site. The requested site is either unavailable or cannot be found. Please try again later." PROBABLE CAUSE: File is being downloaded over a secure connection (SSL, a.k.a. HTTPS protocol) and IE has received a "no-cache" header (as also mentioned by Harry and james at charity dot org). More info on the problem: http://support.microsoft.com/default.aspx?scid=kb;en-us;316431 SOLUTION: The following have worked for me: header('Pragma: private'); header('Cache-control: private, must-revalidate'); or simply header('Pragma: '); header('Cache-control: '); (The first option is probably safer, but that's just a guess.)

« previous php.notes (#125660) next »