The Reset method sets the hit count for a specified Web page to 0.
Reset([pathInfo])
None.
The following example resets the page counters for the current Web page and Mypage.asp
.
<%
Set MyPageCounter = Server.CreateObject("MSWC.PageCounter")
MyPageCounter.Reset
MyPageCounter.Reset("/VirtualDir1/Mypage.asp")
%>
(The following two values should be 0) <BR>
Hits to this page = <%= MyPageCount.Hits %> <BR>
Hits to Mypage.asp = <%= MyPageCount.Hits("/VirtualDir1/Mypage.asp") <BR>