Advertisement
2_2002-2004 Classes/ Frameworks/ OOP #128444

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

Shrnutí AI: 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.

Zdrojový kód
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%>
Původní komentáře (3)
Obnoveno z Wayback Machine