A detailed introduction to Global.asa

Source: Internet
Author: User
The Global.asa file is an optional file that can contain declarations of objects, variables, and methods that can be accessed by each page in an ASP application. The Global.asa file Global.asa file is an optional file that can contain declarations of objects, variables, and methods that can be accessed by each page in an ASP application. All legitimate browser scripts can be used in Global.asa. The Global.asa file can contain the following: Application event session Event <object> declaration TypeLibrary Declaration # include directive Comment: Global.asa file must be stored in ASP The root directory of the application, and each application can have only one global.asa file. Global.asa events in Global.asa, we can tell 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 description of the Global.asa file in ASP

Summary: The Global.asa file is an optional file that can contain declarations of objects, variables, and methods that can be accessed by each page in an ASP application. The Global.asa file Global.asa file is an optional file that can contain declarations of objects, variables, and methods that can be accessed by each page in an ASP application. All legitimate browser scripts can be used in Global.asa.

2. How to implement the function of Global.asax page in ASP.

Introduction: How to implement the function of the Global.asax page in ASP. RT in ASP. Global.asax page is not to do some initialization action when the site is running, but also to define some global variables? So how should you implement such a page in a PHP site? ------Solution--------------------PHP can use the framework to do similar things

3. How to write the Httpd.ini rules under win is more concise,

Introduction: Win under the Httpd.ini rules how to write more concise, help! [isapi_rewrite]# defend your computer from some worm attacks#rewriterule. * (?: Global.asa|default.ida|root.ex

4. How to implement the function of Global.asax page in ASP.

Introduction: How to implement the function of the Global.asax page in ASP. RT in ASP. Global.asax page is not to do some initialization action when the site is running, but also to define some global variables? So how should you implement such a page in a PHP site? ------Solution--------------------PHP can use the framework to do similar things

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.