Click here to Skip to main content
12,395,645 members (61,979 online)
Rate this:
 
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 19: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 8-Jun-12 2:14am
   
5! To the point
Arunprasath Natarajan 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 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)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.160721.1 | Last Updated 8 Jun 2012
Copyright © CodeProject, 1999-2016
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