Article ID: 309008 - View products that this article applies to.
This article was previously published under Q309008
This article has been archived. It is offered "as is" and will no longer be updated.
Use this step-by-step guide to set up a Web page with a Page Counter installable component for Active Server Pages (ASP).
The Page Counter component creates a PageCounter object that counts and displays the number of times a Web page has been opened. At regular intervals the object writes the number of hits to a text file.
Creating a Page and Adding the Page Counter Component Code
Using the Hit Counter on the Page
Saving and Previewing the Page
NOTE: Because the output from the counter object is text, changing the fonts or colors for the page also changes the counter.
For more information about changing the fonts or colors, click Microsoft FrontPage Help on the Help menu, type fonts or colors in the Office Assistant or the Answer Wizard, and then click Search to view the topic.
Active Server Pages (ASP) for IIS come with several built-in objects, such as the Response and Request objects. In addition to these objects, IIS has several "Installable Components" that you can use with ASP. The Page Counter Component allows you to create text-based counters for use on Web pages.
For additional information about installable components for ASP, view the IIS documentation at the following Microsoft Web site: