Microsoft HomeproductssearchsupportshopWrite Us   Microsoft Home
Magazine
 |  Community
 |  Workshop
 |  Tools & Samples
 |  Training
 |  Site Info

Active Desktop & Channels

IIS Log Sample

Download sample

Description

The IISLog sample demonstrates how to receive and parse the IE4 user logging profile from the server side.

More Details

When the user subscribes to a channel which has hit count logging specified and they later browse to those pages, IE40 will log the hit counts and post them back to the server when the channel subscribed to gets updated. The user can globally turn logging off from the control panel UI if desired. IE40 uses the W3C extended server log file format and may encode a posted string as directed in the CDF file associated with the channel subscribed to. This sample shows how to parse the extended server log file format and merge to a W3C flexible log file format. This sample also shows how to decode a posted string if it is encoded using pluggable protocol filters. IISLog.htm is a sample page to post a string to logparse.dll on the server side. The posted string should simulate the extended server log file format.

Browser/Platform Compatibility

This sample is supported in Internet Explorer 4 and Internet Explorer 5. IIS 4 or newer is required.

Usage

The Logparse ISAPI DLL was created and built using VC++ 5.0 ISAPI extension wizard. VC++ 5.0 is required to build this sample. It links to urlmon.lib to obtain the pluggable protocol filters. You need IIS 4.0 or greater to run this sample. Copy LogParse.dll to that server's scripts directory. A detailed description of how to install an ISAPI DLL can be found in the MSDN library.

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

 

Magazine Home
Ask Jane
DHTML Dude
Extreme XML
For Starters
More or Hess
Servin' It Up
Site Lights
Web Men Talking
Member Community Home
Benefits: Freebies & Discounts
Benefits: Promote Your Site
Benefits: Connect with Your Peers
Benefits at a Glance
Online Special-Interest Groups
Your Membership
SBN Stores
Join Now
Workshop Home
Essentials
Content & Component Delivery
Component Development
Data Access & Databases
Design
DHTML, HTML & CSS
Extensible Markup Language (XML)
Languages & Development Tools
Messaging & Collaboration
Networking, Protocols & Data Formats
Reusing Browser Technology
Security & Cryptography
Server Technologies
Streaming & Interactive Media
Web Content Management
Workshop Index
Tools & Samples Home
Tools
Samples, Headers, Libs
Images
Sounds
Style Sheets
Web Fonts
Training Home
SBN Live Seminars
SBN Live Chats
Courses
Peer Support
CD-ROM Training
Books & Training Kits
Certification
SBN Home
New to SBN?
What's New on SBN
Site Map
Site Search
Glossary
Write Us
About This Site