Re: auto refresh once

From: Date: Wed, 02 Mar 2005 08:15:38 +0000
Subject: Re: auto refresh once
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-209779@lists.php.net to get a copy of this message
Hi Will, Automatic refresh can be achieved by the use of a META tag. The meta tag looks like the following, where the 5 is the number of seconds, the URL is obviously the page. <meta http-equiv=REFRESH CONTENT="5; URL=http://www.url.com/"> To refresh all you do is send the META tag out as part of the output the first time and dont do it the second time. So the first time you call the page use a variable in request such as ?refresh=true and only output the META tag if refresh in the $_REQUEST array is set to true. Hope this helps Devraj William Stokes wrote:
Hello, Is it possible to force one automatic refresh browser when user enters to a webpage? If so, how? Thanks -Will
-- Devraj Mukherjee (devraj@eternitytechnologies.com) Eternity Technologies Pty. Ltd. ACN 107 600 975 P O Box 5949 Wagga Wagga NSW 2650 Australia Voice: +61-2-69717131 / Fax: +61-2-69251039 http://www.eternitytechnologies.com/

« previous php.general (#209779) next »