Re: disable History
| From: | Gabriel Peugnet | Date: | Fri, 17 Oct 2003 19:13:55 +0000 |
| Subject: | Re: disable History | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-31107@lists.php.net to get a copy of this message | ||
Check the Header() function in the manual:
// Tels to the browser the page has caducated and forces to reload..
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
// Avoids cahce. It seams it's what you want.
header("Cache-Control: no-cache, must-revalidate");
Gabriel.
"Open-Mind" <open-mind@home.ro> escribió en el mensaje
news:008a01c394bf$a8c40970$e545e9d5@workstation...
How can I "disable" the use of History(Temporary Internet Files) in a page ?
(and don't tell me: it's easy: Tools->internet options->settings ...;-) ...
from script (htm ?, js ?, php ?????) I want to do this ..)
PS: I have a script witch generate jpegs (cuts from a larger one) and
sometimes in browser I see older pictures ...
If I go to: Tools->internet options->settings-> chk for new versions every
visit to the page .... everything works just fine