TrafficTable Object Overview

Note

The TrafficTable object is included in Commerce Server 3.0 only for backward compatibility with sites created in Commerce Server 2.0. New sites should record and measure traffic with Site Server Analysis.

To create a TrafficTable object, use the Server.CreateObject method, specifying Commerce.TrafficTable as the object’s programmatic identifier:

Set MSCSTraffic = Server.CreateObject("Commerce.TrafficTable")
Set Application("MSCSTraffic") = MSCSTraffic

After creating the object, and before calling its LogTraffic method, use the InitTraffic method to initialize the object, specifying the table to which you want to log.


© 1997-1998 Microsoft Corporation. All rights reserved.