IIS: Using <% %> Tags Instead of <SCRIPT> Tags Affects Processing Order (246915)
The information in this article applies to:
- Microsoft Internet Information Server 4.0
- Microsoft Internet Information Services 5.0
This article was previously published under Q246915 We strongly recommend that all users upgrade to Microsoft Internet Information Services (IIS) version 6.0 running on Microsoft Windows Server 2003. IIS 6.0 significantly increases Web infrastructure security. For more information about IIS security-related topics, visit the following Microsoft Web site: SYMPTOMS
When using <SCRIPT RUNAT="SERVER"></SCRIPT> tags instead of or in addition to <% %> tags to denote Active Server Pages (ASP) code in a page, the processing of ASP code may appear to be out of order.
CAUSE
This behavior is by design. ASP code in <SCRIPT> tags is processed after the end of the page's HTML information, whereas ASP code in <% %> tags is processed in-line.
Modification Type: | Minor | Last Reviewed: | 6/22/2005 |
---|
Keywords: | kbpending kbprb KB246915 |
---|
|