Microsoft KB Archive/272862

= PRB: Use of the  Tag in the Global.asa File =

Article ID: 272862

Article Last Modified on 5/8/2001

-

APPLIES TO


 * Microsoft Active Server Pages 4.0

-



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



CAUSE
The RUNAT attribute of the SCRIPT tag has not been set to &quot;Server&quot; 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 &quot;Server&quot;. Also, you can substitute the SCRIPT tag with <% %> tags.



STATUS
This behavior is by design.



MORE INFORMATION
Here is an example of a  tag, which specifies the RUNAT attribute:  'Code that implements the Session and Application event procedures 

The following would be equivalent: <% 'Code that implements the Session and Application event procedures %>

Keywords: kbprb KB272862

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.