Click to See Complete Forum and Search --> : AutoRefresh an aspx-page


d00_ape
May 5th, 2008, 04:34 AM
How can I set a ’timer’ that my aspx-page will refresh every 30 seconds?

Shuja Ali
May 5th, 2008, 05:09 AM
There are multiple ways of doing this. Adding a simple meta tag in the aspx file can refresh the page <meta http-equiv="refresh" content="30">

Adding a header using the response object would also help Response.AppendHeader("Refresh", "5");

d00_ape
May 5th, 2008, 07:20 AM
Perfect!
Response.AddHeader("Refresh", "30");
...made it for me!