THIS WEEK'S BACKOFFICE TIP of ZD JOURNALS. For a PREVIEW issue, go to
http://www.zdjournals.com/forms/asp/cuvyeu.htm
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
Comments:
file: /Techref/inet/iis/aspcount.htm, 1KB, , updated: 2008/4/18 10:29, local time: 2024/11/27 21:39,
18.116.40.53:LOG IN
|
©2024 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://sxlist.com/TECHREF/inet/iis/aspcount.htm"> Active Server Page Counter</A> |
Did you find what you needed? |
Welcome to sxlist.com!sales, advertizing, & kind contributors just like you! Please don't rip/copy (here's why Copies of the site on CD are available at minimal cost. |
Welcome to sxlist.com! |
.