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" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> 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! -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php