<%
If session("username")<>"" then
   Response.Write "欢迎"&Session("username")&"访问本网站"&"<BR>"
   session("username")=""
   Application("counters")=Application("counters")+1
   Response.Write "您是本网站的第"&Application("counters")&"个访问者"
Else
   Response.Write "对不起，请首先访问网站的登录页面！<BR>"
   Response.Write "<P><a href='loginCounter.asp'>登录页面</a></P>"
End If
%>
