Article ID: 309008 - Last Review: June 27, 2007 - Revision: 1.1 HOW TO: Use the ASP PageCounter Component in FrontPage 2000This article was previously published under Q309008 On This PageSUMMARY
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. REFERENCES
For additional information about installable components for ASP, view the IIS documentation at the following Microsoft Web site:
http://msdn2.microsoft.com/en-us/library/aa480184.aspx
(http://msdn2.microsoft.com/en-us/library/aa480184.aspx)
| Article Translations
|
Back to the top
