On Fri, 28 May 2004 16:29:48 -0400, vickie_raven <vi**********@hotmail.com>
wrote:
is there any way to force a refresh of a page that a user visits??
You could dispatch goons to the user's house to threaten them with big sticks
until they hit refresh. Otherwise, you're pretty much out of luck as far as
forcing goes.
Since PHP's job is finished once the page is sent to the user, you can't later
do anything that could cause a refresh.
You could send a Location header along with the page, but that just redirects
instantly, and so the user would never see the page in the first place - hardly
a refresh.
An HTML solution (independent of PHP) is using a <meta> tag to request the
browser to refresh after a certain amount of time. The browser doesn't have to
honour this request.
--
Andy Hassall <an**@andyh.co.uk> / Space: disk usage analysis tool
http://www.andyh.co.uk /
http://www.andyhsoftware.co.uk/space