note 13892 added to function.header.php

From: Date: Mon, 09 Jul 2001 06:31:53 +0000
Subject: note 13892 added to function.header.php
Groups: php.notes 
Request: Send a blank email to php-notes+get-15110@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. http://www.php.net/manual/fr/function.header.php

« previous php.notes (#15110) next »