Hi, I think you could use headers to prevent the browser from
caching the page, for example :

  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-cache, must-revalidate');
  header('Pragma: no-cache');

Take a look at what the manual says about headers, i'm not just
this code is accurate, but thats the idea.

HTH,

-- OliNether.

"Fai" <[EMAIL PROTECTED]> wrote :
>
> Subject: [PHP] reloading a webpage?
>

> Does any body know how to ensure the web page will clear the previous
> history (cache) and reload the new data when the same webpage re-displays to
> browser?
> 
> That is the current webpage content is based on previous webpage input, and
> when we press "back" button to re-enter previous webpage input then we press
> "forward" and this current page will know to update the content and display
> new one to browser.
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to