LOGTARGET Element

Obsolete. Specifies where to send a Channel Definition Format (CDF) client page-hit log file.

Syntax

<LOGTARGET
    HREF = "url"
    METHOD = "POST"
    SCOPE = "sScope">
<!-- child elements -->
</LOGTARGET>

Attributes

HREF
Required. URL the log will be sent to.
Note  CDF supports only HTTP, Secure Hypertext Transfer Protocol (HTTPS), and File Transfer Protocol (FTP) protocols. If a different protocol is used, Windows Internet Explorer will fail to send the page without notifying the user.
METHOD
Required. String value that specifies the HTTP method to be used for sending the data.
SCOPE
Optional. String value that specifies which type of page hits should be logged.
OFFLINEPages read from local cache should be logged.
ONLINEPages read from URL browsing should logged.
ALLDefault. Both types of page hits should be logged.

Element Information

Parent elements CHANNEL
Child elements
May occur at most once HTTP-EQUIV, PURGETIME
Minimum availability Internet Explorer 4.0
Minimum operating systems Windows 95, Windows NT 4.0

Remarks

Internet Explorer 7. The CDF (Channel Definition Format) is obsolete and should not be used.

This element must occur before any ITEM elements in the CDF file.

The LOGTARGET's domain must be the same as the CDF file's domain. The log file can only be sent to the domain that served the channel. This is to prevent providers from tracking the client's use of other provider's sites.

Example

This example shows how to specify where to send a CDF client page-hit log file.


<LOGTARGET
      HREF="http://www.joyware.tld/logging"
      METHOD="POST"
      SCOPE="OFFLINE">
   <PURGETIME HOUR="12"/>
   <HTTP-EQUIV NAME="ENCODING-TYPE" VALUE="gzip"/>
</LOGTARGET>

See Also

Community Additions

ADD
Show:
© 2014 Microsoft