Click here to Skip to main content
11,641,668 members (51,222 online)
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 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 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)

  Print Answers RSS
0 Mika Wendelius 310
1 DamithSL 213
2 Afzaal Ahmad Zeeshan 139
3 CPallini 134
4 OriginalGriff 120
0 Mika Wendelius 460
1 OriginalGriff 215
2 DamithSL 213
3 CPallini 169
4 Afzaal Ahmad Zeeshan 129


Advertise | Privacy | Mobile
Web03 | 2.8.150731.1 | Last Updated 8 Jun 2012
Copyright © CodeProject, 1999-2015
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