Hi!

Am I assuming correctly that if you add this in the beginning of a PHP 
page
that the browser will not store files for that page to its cache?

<?php
    header('Cache-Control: no-store, no-cache, must-revalidate'); //
HTTP/1.1
    header('Cache-Control: post-check=0, pre-check=0'); // damnable IE5
    header('Expires: Wed, 16 Nov 1977 10:00:00 CET');   // date in past
    header('Last-Modified: '.date('r'));                // right -now-
    header('Pragma: no-cache');                         // HTTP/1.0
?>


I tried it, but the sensitive files I want to avoid from being available 
on
the client's harddrive, still get downloaded and saved in the "Temporary
Internet Files" for IE6. I also tried Mozilla, but I see changes in the
cache as well.


Comments would be greatly appreciated!
Thx!

Bart

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to