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 11:29, local time: 2023/6/6 08:49,
|©2023 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://www.sxlist.com/techref/inet/iis/aspcount.htm"> Active Server Page Counter</A>
|Did you find what you needed?|
Welcome to sxlist.com!
& kind contributors
just like you!
Please don't rip/copy
Copies of the site on CD
are available at minimal cost.
Welcome to www.sxlist.com!