Header - cache control depends of the server ?
| From: | pierre dot marcandella at free dot fr | Date: | Thu, 28 Mar 2002 03:03:54 +0000 |
| Subject: | Header - cache control depends of the server ? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-90457@lists.php.net to get a copy of this message | ||
Hi I am using this to make sure a page is refreshed when the user uses the back
button of his browser :
<?
header("Cache-Control: no-store, no-cache, must-revalidate"); // HTTP/1.1
header("Cache-Control: post-check=0, pre-check=0", false);
header("Pragma: no-cache"); // HTTP
...
?>
When I try on local (Win NT) it works. The page is refreshed.
When I try on an other server (UNIX) it doesn't work.
Is it normal ?
Any idea how I can solve this ?
Thanks for any assistance.
Pierre