Re: Problems refreshing
| From: | Ignatius Reilly | Date: | Mon, 07 Oct 2002 16:15:39 +0000 |
| Subject: | Re: Problems refreshing | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-16227@lists.php.net to get a copy of this message | ||
You can append a variable that is sure to change, such as time():
<SCRIPT language="JavaScript">
function redirect() {
location.href = "http://mydomain.fr?nocache=<?php echo( time() ) ;
?>" ;
}
</SCRIPT>
HTH
Ignatius
____________________________________________
----- Original Message -----
From: "Aitor" <aitor@7islands.net>
To: <php-windows@lists.php.net>
Sent: Monday, October 07, 2002 5:53 PM
Subject: [PHP-WIN] Problems refreshing
Hi, I'm working on a PHP and mySQL website based but I have a problem
refreshing the information of the webs. When I load/change information on
the mySQL throught the PHP site the new information is not displayed on the
site because the browser use the web from the cache memory. How can I force
the browse to reload the information everytime the web is loaded?
if you want to try the web and tell if it works this is the URL :
Http://www.7islands.net/Aerena/
It's in spanish!
Thanks!