Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C# ASP ASP.NET HTML HTML5
Dear Friends,
 
I want to refresh my web page for every 5 min.
How can I do it.
Please any one suggest.
 
Regards,
AP
Posted 7-Jun-12 20:13pm
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

You can do this using different ways. One of them is using meta tag.
<meta http-equiv="Refresh" content="30">
 
see here[^]
  Permalink  
Comments
codeBegin at 8-Jun-12 2:14am
   
5! To the point
Arunprasath Natarajan at 8-Jun-12 3:20am
   
Nice and Thanks
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

  Permalink  
Comments
codeBegin at 8-Jun-12 2:14am
   
good links 5!
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

If you are not using AJAX, you can set a META refresh[^] tag to reload the page every 5 minutes.
 
If you do use AJAX, you can set a setTimeout[^] to refetch the data.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



Advertise | Privacy | Mobile
Web03 | 2.8.1411022.1 | Last Updated 8 Jun 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100