Click here to Skip to main content
12,945,800 members (53,685 online)
Rate this:
 
Please Sign up or sign in to vote.
See more:
i had used the following code,but it is not working
<head>
    <title>Untitled Page</title>
    <meta http-equiv="refresh" content="10"/>
</head>
<meta id="RefreshPeriod" runat="server" http-equiv="refresh" content="10" />
<style type="text/css">

Response.AppendHeader("refresh", "5");
Posted 2-Jan-12 23:54pm
Updated 3-Jan-12 5:22am
Mehdi Gholam335.9K
v2
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 4

use
<meta http-equiv="Refresh" content="n;url"/>

where n is the number of seconds, and url is the URL to refresh to. If you leave the URL off, then the page refreshes itself.

<meta http-equiv="refresh" content="8;url=http://abc.xyz/>


where '8' refers to the number of seconds that will elapse before the page is refreshed;
'url' is the new url redirect to. It can be excluded which means the current page will be reloaded.

Reference Link :- Auto-refreshing ASP.NET web pages[^]
  Permalink  
v2
Comments
Amir Mahfoozi 3-Jan-12 6:09am
   
+5
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 2

Use META Refresh or Javascript Settimeout, check these
Automatically refresh page after some interval[^]
  Permalink  
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 3

<html>
 <head>
 <**** **********="refresh" content="60">
 </head>
 <body>
 <FRAMESET>
 <FRAME src="http://www.tuaw.com">
 </FRAMESET>
 </body>
 </html>
  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
OriginalGriff 4,899
CHill60 3,180
Maciej Los 2,453
Jochen Arndt 1,910
ppolymorphe 1,785


Advertise | Privacy | Mobile
Web02 | 2.8.170518.1 | Last Updated 3 Jan 2012
Copyright © CodeProject, 1999-2017
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