| 
 
	
		| View previous topic :: View next topic |  
		| Author | Message |  
		| toto 
 
 
 Joined: 20 Oct 2004
 Posts: 6
 
 
 | 
			
				|  Posted: Wed Oct 20, 2004 10:07 am    Post subject: How do I force my ASP page to refresh? |   |  
				| 
 |  
				| Hi, 
 I need to refresh one of my ASP pages every 30 seconds. Is there a way to automatically refresh an ASP page after certain time interval has elapsed?
 
 
 Thank you all
 
 ToTo
 |  |  
		| Back to top |  |  
		|  |  
		| administrator Site Admin
 
 
 Joined: 01 Oct 2004
 Posts: 183
 
 
 | 
			
				|  Posted: Wed Oct 20, 2004 3:12 pm    Post subject: |   |  
				| 
 |  
				| Welcome to ASPdev.org forums   
 To refresh your ASP page every 30 seconds do the following:
 
 <%
 Response.AddHeader "Refresh", "30"
 %>
 
 The code above will do the same as if you add <META REFRESH> tag directly to your HTML code.
 
 
 Cheers
 _________________
 Peter
 ASP & ASP.NET Articles and Tutorials
 |  |  
		| Back to top |  |  
		|  |  
		|  |  
  
	| 
 
 | You cannot post new topics in this forum You cannot reply to topics in this forum
 You cannot edit your posts in this forum
 You cannot delete your posts in this forum
 You cannot vote in polls in this forum
 
 |  
 Powered by phpBB © 2001, 2002 phpBB Group
 
 |