How to Dynamically Generate ASX Files Using ASP Pages
ID: Q184396
|
The information in this article applies to:
-
Microsoft Windows NT Server NetShow 3.0 Services
SUMMARY
In some situations you may want to create an ASX file dynamically by using
the Active Server Page (ASP) scripting language.
MORE INFORMATION
The following sample illustrates how this may be done:
<% Response.ContentType="video/x-ms-asf" %><ASX version="3.0">
<Entry>
<Ref href="mms://servername/filename.asf" />
</Entry>
Note that the Reponse.ContentType is immediately followed by the opening
tag of the ASX file. If these two entries are made on separate lines, then
Microsoft Internet Explorer inserts an extra blank line at the top of the
resulting ASX file. The NetShow Player does not recognize the ASX file if
this extra line is present.
Additional query words:
Keywords :
Version : WINNT:3.0
Platform : winnt
Issue type : kbhowto