> header ("Expires: Mon, 26 Jul 1997 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

FYI.
If you are using PHP4 session, it will be done automatically when you set
session.cache_limmter = 'nocache';

Also read, RFC2068 for HTTP1.1, RFC1945 for HTTP 1.0.

Regards
--
Yasuo Ohgaki
>
> -----Ursprungligt meddelande-----
> Från: Fai [mailto:[EMAIL PROTECTED]]
> Skickat: den 10 mars 2001 18:25
> Till: [EMAIL PROTECTED]
> Ämne: [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]
>
>
>
> --
> 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]
>
>

-- 
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