THIS WEEK'S BACKOFFICE TIP of ZD JOURNALS. For a PREVIEW issue, go to
THE PAGE COUNTER COMPONENT
One easy way to place a counter on your ASP pages is by using the Page Counter component. This server component provides a simple page counter that you can use on any Web page. The following Web page demonstrates the simplest way to use the counter:
<HTML> <HEAD> <TITLE>Page Counter Example</TITLE> </HEAD> <BODY> <% SET objHitCounter = Server.CreateObject("IISSample.PageCounter") objHitCounter.PageHit %> This page has been visited <%= objHitCounter.Hits %> times. </BODY> </HTML>
You will most likely need to download and install this server component, which is still in beta release. You can find the compressed install package and more information on this component at http://www.microsoft.com/windows/downloads/contents/AdminTools/IISPageCounter/default.asp
|file: /Techref/inet/iis/aspcount.htm, 1KB, , updated: 2008/4/18 10:29, local time: 2021/2/25 00:11,
|©2021 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?|
<A HREF="http://techref.massmind.org/techref/inet/iis/aspcount.htm"> Active Server Page Counter</A>
|Did you find what you needed?|
Welcome to massmind.org!
Welcome to techref.massmind.org!