Windows Media Player SDK banner art
PreviousNext

LOGURL Element

Instructs the player to submit any log data to the specified URL.

Syntax

<LOGURL
   href="URL"
/>

Attributes 

None

Parent/Child Elements

Hierarchy Elements
Parent elements ASX, ENTRY
Child elements None

Remarks

The LOGURL element enables a client metafile playlist to post log statistics to the origin server and any specified location on the Web.The URL must be to a host that is able to process logging requests. The URL can be any valid HTTP URL. The URL can also be to some CGI script.

The only valid protocols for a LOGURL element are HTTP and HTTPS.

An ASX scope LOGURL element in a metafile playlist referenced from another metafile playlist will be limited to the scope of that referenced file. A LOGURL element forces the submission of log data for all content streamed from within its defined scope and only for content streamed from within its defined scope. Log data will be submitted to the origin server and to all URLs listed in every LOGURL element in scope. Log data will be submitted only once to each listed URL, even if the same URL is listed more than once in a given scope. A repeat of an ENTRY would result in another submission to the listed URLs.

There is no limit to the number of LOGURL elements in a metafile playlist.

Example Code

<ASX VERSION="3.0">
  <TITLE>Example Media Player Show</TITLE>
  <LOGURL href="http://example.microsoft.com/info/showlog.asp?whatsup" />
  <ENTRY>
    <REF href="mms://ucast.blah.com/media1.asf" />
    <LOGURL href="http://foobar.com/cgi-bin/logging.pl?somearg=someval"/>
  </ENTRY>
</ASX>

The following are valid URLs.

An URL to An ISAPI application:

http://www.foo.com/logs/WMSLogging.dll

An URL to some CGI script:

http://www.foo.com/cgi-bin/My_WMS_Logging_Script.pl

Any valid HTTP URL:

http://www.foo.com/some/arbitrary/path/My_WMS_Logging_Page.asp?PubPoint=FooPubPoint&AnotherName=AnotherValue

See Also

PreviousNext


© 2000-2001 Microsoft Corporation. All rights reserved.