Advertisement
2002ASP Classes/ Frameworks/ OOP #8041

Self Refreshing Page

You can cause a page to automatically refresh every n seconds using the HTML Meta Refresh. This is great for chat sites, real time monitoring sites or any other site where you must have up to date real-time information. This example will reload itself every 5 seconds and display the current time. Note: Replace the name test3.asp with whatever name you call this script.

AI

AI Summary: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Source Code
original-source
<%@ LANGUAGE="VBSCRIPT" %>
<%option explicit
Response.Write "<META HTTP-EQUIV=REFRESH CONTENT=""5; URL=test3.asp"">"

%>
This page will refresh in 5 seconds...
<%= Now%>
Original Comments (3)
Recovered from Wayback Machine