View Full Version : Refresh page code
tamba
Oct 10th, 2001, 06:46 AM
We need to do a refresh of an asp page but all we can find is a meta refresh that repeats and we want it to only refresh 1 on loading of the page. Can anyone tell me what the script be it html, javascript or asp, would be?
Thanks
Tommy
Oct 10th, 2001, 09:10 AM
Hi Kay,
Here is the code to do it in HTML:
META HTTP-EQUIV="refresh" CONTENT="5;URL=http://forums.webhostdir.com"
Change the 5 to the number of seconds you want the page to show before the refresh. If it's asap after loading change it to 0.
:)
Tommy
Oct 10th, 2001, 09:19 AM
Forgot to say that the above code will refresh to another page only. It will not allow you to reload the same page once.
The code to refresh an ASP page is
<% response.redirect NAME OF YOUR PAGE %>
Powered by vBulletin® Version 4.1.12 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.