PRB: Use of the <SCRIPT> Tag in the Global.asa File (272862)
The information in this article applies to:
- Microsoft Active Server Pages
This article was previously published under Q272862 SYMPTOMS
The Application and Session event procedures in the Global.asa file of an Active Server Pages (ASP) application might not fire when the code is enclosed within <SCRIPT></SCRIPT> tags.
CAUSE
The RUNAT attribute of the SCRIPT tag has not been set to "Server" to indicate that the enclosed code is script that needs to be run on the Web server.
RESOLUTION
Specify the RUNAT attribute in the SCRIPT tag and set its value to "Server". Also, you can substitute the SCRIPT tag with <% %> tags.
STATUS
This behavior is by design.
Modification Type: | Major | Last Reviewed: | 5/8/2001 |
---|
Keywords: | kbDSupport kbprb KB272862 |
---|
|