Click to return to the Content     
Hit Logging Functions     Content & Component Deliv...    
Web Workshop  |  Content & Component Delivery

Hit Logging API


The Channel Definition Format (CDF) files allow content providers to determine which hits get logged for the items included in the CDF file. These logs are posted to the server during a scheduled update and cleared. This API allows developers to verify if hit logging is enabled and write customized entries in the log.

To use these functions, make sure the Urlmon.h header file is in the include directory, and the Urlmon.lib library file is in the library directory of the C/C++ compiler you use.

About Logging

The logs that are created contain the URL of the resource, the browsing context, whether the information was viewed from the cache, date viewed, time that the viewing started, duration it was viewed, and the custom information. Only the browsing context (normal browser window, theater view, Active Desktop™ Item, or Microsoft® Internet Explorer screen saver) cannot be set by the WriteHitLogging function.

For more information about logging, see the Page-Hit Logging and Client-Side Logging sections in the Active Channel Technology documentation.



Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.