Cache
| From: | Boaz Yahav | Date: | Tue, 20 May 2003 20:46:13 +0000 |
| Subject: | Cache | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-148313@lists.php.net to get a copy of this message | ||
Hi
I must be missing something.
I'm trying to disable the option to press the back button on a spesific
page.
I added this header : header("Cache-control: no-cache");
and i also tried adding :
header("Expires: Mon, 26 Jul 1970 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, must-revalidate"); // HTTP/1.1
header("Pragma: no-cache"); // HTTP/1.0
however, you can still use the back button.
any idea?
Sincerely
berber
Visit http://www.weberdev.com/ Today!!!
To see where PHP might take you tomorrow.