I have the following 2 scripts
/* Script 1 **/
<?
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); // Datum in het verleden
header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); // Altijd veranderd
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");
// Note the variable issue_id
session_unregister("issue_id");
unset($issue_id);
<a href="script2.php?issue_id=1">Scipt 2</a>
<a href="script2.php?issue_id=2">Scipt 2</a>
?>
/* Script 2 **/
<?
// Note the variable issue_id
session_register("issue_id");
echo "issue_id";
<a href="script1.php>Scipt 1</a>
?>
When I click on the first href link, it will display "1" correctly. Afterwards, pressing the Back Button of IE, and then clicking the second href, it still displays "1"!!! :mad:
It only displays the correct issue_id when I click into Script 1! It works without any problems locally but not on my Linux setup.
Could the problem be "HTTP_CACHE_CONTROL = max-age=259200"? This is on my Linux setup. If so how can I change the setting? I have looked in my php.ini and httpd.conf but no luck.
Thanks in advance