<HTML>
<HEAD><TITLE>Page Counter Example</TITLE></HEAD>
<BODY>
<h1>COUNTER</h1>
<%
Set MyPageCount = Server.CreateObject("IISSample.PageCounter")
MyPageCount.PageHit
HitMe = MyPageCount.Hits
if HitMe = 7 then
%>
<p>
You are the lucky <b>7th</b> Customer!!! <BR>
<% else %>
<p>
You are customer #<%=HitMe%> <BR>
<% end if %>
</BODY>
</HTML>