ASP ClassicLesson 38Free preview
ASP Global.asa
This lesson is part of ASP · All levels
Summary
Global.asa is a dedicated file that hosts application lifecycle events and sessions, such as Application_OnStart, Application_OnEnd, Session_OnStart, and Session_OnEnd. This file is placed in the root of the application and does not generate any output to the browser. Through the event, joint initials only need to be done once without repeating it on every page.
Key points
- Global.asa is placed in the main application folder.
- It is the event handler: Application_OnStart, Session_OnStart, and its derivatives.
- This file does not send the output directly to the browser.
- Application_OnStart runs once when the application is first accessed.
Full lesson
Code examples and quizzes
Full lessons, code examples, and quizzes are available to subscribers. 5 questions.