Reputation: 2207
Is there a way to refresh/reload a page in ASP.NET without actually loading the page? I need the page to reload every 5 minutes but this will not be loaded by any user.
Thank you
Upvotes: 3
Views: 336
Reputation: 14595
The simplest way of doing it is to use a html meta tag that instructs the page to refresh after a given time interval (in seconds):
<meta http-equiv="refresh" content="30" />
Upvotes: 7
Reputation: 65742
Sounds like you want to use ASP.Net Cache. Use the @OutputCache directive with a duration.
Setting the Cacheability of a Page
Upvotes: 1