<% Set MyPageCounter = Server.CreateObject("IISSample.PageCounter") %> This Web page has been viewed <%= MyPageCount.Hits %> times. <P> Page Myscript.asp has been viewed <%= MyPageCounter.Hits("/VirtualDir1/Myscript.asp") %> times.