Click here to Skip to main content
15,887,083 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
i had used the following code,but it is not working
XML
<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">

C#
Response.AppendHeader("refresh", "5");
Posted
Updated 3-Jan-12 5:22am
v2

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[^]
 
Share this answer
 
v2
Comments
Amir Mahfoozi 3-Jan-12 6:09am    
+5
Use META Refresh or Javascript Settimeout, check these
Automatically refresh page after some interval[^]
 
Share this answer
 
XML
<html>
 <head>
 <**** **********="refresh" content="60">
 </head>
 <body>
 <FRAMESET>
 <FRAME src="http://www.tuaw.com">
 </FRAMESET>
 </body>
 </html>
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900