How to automatically refresh a web page ?

This short article shows couple of ways you can refresh your web page after some specific time. It talks about the META tag and an ASP.Net way of doing the same.

There are couple of different ways you can automatically refresh a webpage. See few different approaches below:


Using the standard HTML Mewta tag 'Refresh'. This tag specifies a delay before the browser
automatically reloads the page. The delay is specified in seconds. You can specify a URL also to reload. If you do not specify a URL, it will relaod the same page after the interval.


The above META tag tells the browser to reload the current page after 10 SECONDS. SO, if you have the above meta tag in your page, 10 seconds after it is loaded, it will reload the page - but the URL specified is So, after 10 seconds, your page will be replaced with

Note that the META tags should be placed in the head portion of the HTML document, between the <HEAD> and </HEAD> tags.


This is the ASP.Net way !

Response.AppendHeader("Refresh", "10; URL=")


No responses found. Be the first to comment...

  • Do not include your name, "with regards" etc in the comment. Write detailed comment, relevant to the topic.
  • No HTML formatting and links to other web sites are allowed.
  • This is a strictly moderated site. Absolutely no spam allowed.
  • Name: