<% If Request("DontFrame")<>1 Then Response.Redirect "/iissamples/sdk/asp/docs/SampFram.asp?ovfile=/iishelp/iis/htm/sdk/samp1wxf.asp&srcfile=Components/Counter" %> Counters

Counters

The Counters component creates a Counters object that can create, store, increment, and retrieve any number of individual counters. This example demonstrates how to make use of this component.

Note This component is not installed with IIS. You can install it from the CD included with the IIS Resource Kit. The ProgID declared by the component version installed from this source specifies "IISSamples" in the vendor component of the ProgID, not "MSWC." Therefore, the Server.CreateObject invocation in this sample script must be modified to reflect the proper component ProgID.


© 1997 by Microsoft Corporation. All rights reserved.