I'm having difficulty getting a php page to reload when the user goes back
to it. The page is initially loaded with no variables passed, but is then
reloaded with variables passed with GET and also retrieves variables from a
session cookie, which is set by a different page on first load.

This works fine, but the problem is, when the user goes back to the first
page (via history) the page does not reload and it fails to receive the
cookie data even though it receives it every other time it loads. So
basically I can only get the cached version. I have tried the following at
the start of the document:


// and this:


// and this:

    header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
    header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT");
    header("Cache-Control: no-store, no-cache, must-revalidate");
    header("Cache-Control: post-check=0, pre-check=0", false);
    header("Pragma: no-cache");

and a few combinations. I am testing with IE 5.5 with all default settings.
I am using PHP 4.1.1



PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to