Home > Backend Development > C#.Net Tutorial > Detailed introduction about Global.asa

Detailed introduction about Global.asa

巴扎黑
Release: 2017-06-10 16:42:08
Original
2246 people have browsed it

The Global.asa file is an optional file that can contain declarations of objects, variables, and methods that can be accessed by every page in an ASP application. Global.asa file The Global.asa file is an optional file that contains declarations of objects, variables, and methods that can be accessed by every page in an ASP application. All legal browser scripts can be used in Global.asa. The Global.asa file can contain the following content: Application event Session event Statement TypeLibrary Statement #include directive comments: The Global.asa file must be stored in the root directory of the ASP application, and each application can only have one Global .asa files. Events in Global.asa In Global.asa, we can tell the application and session objects what to do when they start and end. The code to complete this task is placed in the event operator

1. Detailed introduction to the Global.asa file in ASP

Detailed introduction about Global.asa

Introduction: The Global.asa file is an optional file that contains objects, variables, and methods that can be accessed by every page in the ASP application. statement. Global.asa file The Global.asa file is an optional file that contains declarations of objects, variables, and methods that can be accessed by every page in an ASP application. All legal browser scripts can be used in Global.asa.

2. How to use php to implement the functions of the Global.asax page in asp.net

Introduction: How to use php to realize the function of Global.asax page in asp.net? RT Does the Global.asax page in asp.net do some initialization actions and define some global variables when the website is running? So how to implement such a page in a php website? ------solution-------------------- PHP can use the framework to do similar things

3. How to write the httpd.ini rules under win more concisely,

Introduction: How to write httpd.ini rules under win more concisely, please help! [ISAPI_Rewrite]#Defend your computer from some worm attacks#RewriteRule .*(?:global.asa|default.ida|root.ex

4. How to use php Realize the functions of the Global.asax page in asp.net

Introduction: How to use php to realize the functions of the Global.asax page in asp.net RT in asp.net Does the Global.asax page perform some initialization actions and define some global variables when the website is running? So how to implement such a page in a PHP website? ------Solution- ------------------php can use frameworks to do similar things

The above is the detailed content of Detailed introduction about Global.asa. For more information, please follow other related articles on the PHP Chinese website!

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template