How to count pages that have been opened
S T E P - 1
- Page Counter is ASP's standard object.
<%
Dim numHits
Set numHits = Server.CreateObject("MSWC.PageCounter")
%>
S T E P - 2
- We can show the total of hits in the current page:
<%
Response.write ("Number Of Hits - " & numHits.Hits())
%>
No comments:
Post a Comment