note 13892 deleted from function.header by jimw
| From: | jimw@php.net | Date: | Wed, 31 Oct 2001 22:06:39 +0000 |
| Subject: | note 13892 deleted from function.header by jimw | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-19797@lists.php.net to get a copy of this message | ||
My PHP code for downloading a file was successfully running on my HTTP server. When I moved it to my
SSL site, I got the message "IE could not open this site..." while processing the
download.
Actually, this is a bug with "no-cache" which is due to session_start().
Here is a way to solve this problem :
session_cache_limiter("");
session_start();
header("Cache-Control: post-check=0, pre-check=0");
See the notes about the session-cache-limiter function for more information.