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: 2021/4/16 19:48,
|©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://piclist.com/techref/inet/iis/aspcount.htm"> Active Server Page Counter</A>
|Did you find what you needed?|
PICList 2021 contributors:
o List host: MIT, Site host massmind.org, Top posters @20210416 Harold Hallikainen, RussellMc, Neil, Bob Blick, Alan Pearce, Spehro Pefhany, Clint Jay, Jason White, Richard Prosser, Alexandre Guimaraes,
* Page Editors: James Newton, David Cary, and YOU!
* Roman Black of Black Robotics donates from sales of Linistep stepper controller kits.
* Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters.
* Monthly Subscribers: Gregg Rew. on-going support is MOST appreciated!
* Contributors: Richard Seriani, Sr.
Welcome to piclist.com!