note 13289 deleted from function.header by jimw

From: Date: Wed, 31 Oct 2001 22:03:31 +0000
Subject: note 13289 deleted from function.header by jimw
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-19785@lists.php.net to get a copy of this message
if you are using sessions, and you are implementing a download feature thru a url (i.e /download.phtml?file=somefile.pdf), your IE 5.5 clients will display a message stating that the site or the doc is unavailble. If you right mouse click and select save, you'll see a different cryptic message stating that the "file could not be written to the cache". What to do? Place the following line before session_start(): <? ... session_cache_limiter('public'); session_start(); header("..."); readfile($file); ... ?> ** Special thanks to simon@ateb.co.uk comments under session_cache_limiter **

« previous php.notes (#19785) next »