Click to return to the Content     
LOGTARGET Element     SCHEDULE Element     CDF Reference for Active ...    
Web Workshop  |  Content & Component Delivery

PURGETIME Element


Specifies the maximum age of valid page hits when the log file is being uploaded.

Syntax

<PURGETIME
    HOUR="n"
> 

Attributes

HOUR
Number of hours for which the logging information is considered valid.

Element Information

Number of occurrences None or one
Parent elements LOGTARGET
Child elements None
File formats supported CDF
Requires closing tag No

Remarks

The log file (filename.log) is stored in the user's local cache in the
%userprofile%\history\log folder. This file is cleared after it is successfully posted to the HTTP server during the CDF update.

Example

In the following example, a PURGETIME element and HTTP-EQUIV element are nested inside a LOGTARGET element. The example shows how to specify the maximum age of valid page hits—in this case, 12 hours.
<LOGTARGET
      HREF="http://www.joyware.tld/logging"
      METHOD="POST"
      SCOPE="OFFLINE">
   <PURGETIME
         HOUR="12"/>
   <HTTP-EQUIV
         NAME="ENCODING-TYPE"
         VALUE="gzip"/>
</LOGTARGET>


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.