Freigeben über


LOGTARGET element

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

Usage

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

Attributes

Attribute Type Required Description

HREF

url

Yes

URL the log will be sent to.

Note  CDF supports only HTTP, HTTPS, and FTP protocols. If a different protocol is used, Internet Explorer will fail to send the page without notifying the user.
 

METHOD

POST

Yes

String value that specifies the HTTP method to be used for sending the data.

SCOPE

sScope

No

String value that specifies which type of page hits should be logged.

OFFLINE

Pages read from local cache should be logged.

ONLINE

Pages read from URL browsing should logged.

ALL

Default. Both types of page hits should be logged.

Child elements

Element

HTTP-EQUIV

PURGETIME

Child element sequence

HTTP-EQUIVPURGETIME

Parent elements

Element

CHANNEL

Remarks

Windows 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.

Examples

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>

Element information

Minimum supported system

Windows XP
Can be empty No

See also

Reference

LOG

Conceptual

About Active Channel Features