You could use Headers to tell the browser to expire the page "now"..

header ("Expires: Mon, 1 Jan 1990 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");

something like that should do it..

See if it works now..

----- Original Message -----
From: "Simonk" <[EMAIL PROTECTED]>
Sent: Sunday, April 28, 2002 7:50 PM
Subject: [PHP] Auto refresh when data changed in Mysql

> I have made a php + mysql site and hosting in my own IIS server, but in my
> school network, The page didnt change when i changed the data in mysql
> server. I think is the cache problem, but i cant fix it even i tick the
> "Update the page everytime when page load" in IE.
> There is no such problem in any home pc. but only in my school's pcs
> but when i type in
> then the page can be update.
> Is there any code or setting can be set to over come this problem?
> Thank you!
> --
> PHP General Mailing List (
> To unsubscribe, visit:

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to