Previous in Contents Next in Contents

The TrafficTable Object

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 measure traffic with Site Server Analysis.

The TrafficTable object provides Commerce Server sites with the ability to log user information and site events to a database table. A site manager could then analyze traffic information by querying the table with an application such as Microsoft® SQL Server™.

The TrafficTable object provides the same functionality as the TrafficLogFile object, except that the latter logs information to a file rather than to a table in the database.

The TrafficTable object supports the following methods.

Method Description
InitTraffic Initializes the TrafficTable object with the data source to which to log traffic data, and (where applicable) a site key.
LogTraffic Logs traffic data to a data source.


© 1997-2000 Microsoft Corporation. All rights reserved.