help about no-cache in IE
Posted: Mon Sep 06, 2004 12:25 am
Help me please.
I have a web page, and i like when my page is loading it well be loaded from server and not from cache.
I write to header
and if i push "back" button in IE page loaded from cache.
I have a web page, and i like when my page is loading it well be loaded from server and not from cache.
I write to header
Code: Select all
<?php
header ("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Date in the past
header ("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // always modified
header ("Cache-Control: no-cache, no-store, must-revalidate, pre-check=0, post-check=0, max-age=0, s-maxage=0"); // HTTP/1.1
header ("Pragma: no-cache"); // HTTP/1.0
?>