View Source
Go Back to /jang/books/asp/example/application/pagehit03.asp
<%@language=JScript%>
<%title="獨立功能的計數網頁:以 URL 為 Application 物件的變數名稱"%>
<!--#include file="../head.inc"-->
<hr>

<%
url = Request.ServerVariables("URL");
if (Application(url) == null)
      Application(url) = 0; // 若 Application(url) 不存在,則設定其為 0
%>

<h3 align=center>您是第 <font color=red><%=++Application(url)%></font> 位貴賓!</h3>

<hr>
<!--#include file="../foot.inc"-->