Why "no-cache" not work?
| From: | hp | Date: | Mon, 04 Sep 2000 08:05:52 +0000 |
| Subject: | Why "no-cache" not work? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-15072@lists.php.net to get a copy of this message | ||
Hello all:
I write a php script which have the follow statements to disable browser's
cache:
<?
header ("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
header ("Cache-Control: no-cache , no-cache");
header ("Pragma: no-cache");
....
?>
but it seems to be work in POST, but not work in GET. that is, after you
view the
page which have these statements, you can also see it by clicking the BACK
or FORWORD
button. (I hope it can not be see again)
Anybody can explain it? and how to resolve it?