Re: browser / refresh

From: Andy Hassall (andy_at_andyh.co.uk)
Date: 05/29/04


Date: Sat, 29 May 2004 20:26:23 +0100

On Fri, 28 May 2004 16:29:48 -0400, vickie_raven <vickie_raven@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 <andy@andyh.co.uk> / Space: disk usage analysis tool
http://www.andyh.co.uk         / http://www.andyhsoftware.co.uk/space


Relevant Pages

  • Re: Clearing the data....
    ... Response.Redirect sends a Response to the Client browser, ... Only Response.Redirect will ensure that a Refresh from the ... > "Kevin Spencer" wrote in message ... >> browser to request a new URL. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: How to differentiate ASP page Refresh versus Requested by other pa
    ... browser Refresh button, do something else--> ... Any idea about how to differentiate this two different behavior (Page ... Refresh versus Page requested by another Page)? ... A referesh will use the same method to request the resource. ...
    (microsoft.public.inetserver.asp.components)
  • Re: What is the difference between......
    ... Here also Browser sends a request to Web server and webserver fulfills ... for a small part on web form or page, Web server used to refresh all ... Real Time examples is Gmail has implemented this...While u attach a ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Error refreshing a web page
    ... since my work has nothing to do with commerce, ... browser to pop up such a specific message, ... Environment: VS 2005 team developer, AJAX extensions, .NET 2.0. ... The browser's refresh button works fine UNTIL I click the button on the ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Code to "click" a button -- is this possible?
    ... Once the client receives ... look at is that the web server simply makes a suggestion to the browser. ... will refresh another frame called "Main"? ... I have frames set up in an asp.net application and need one frame to ...
    (microsoft.public.dotnet.languages.csharp)