Application Events

An ASP-based application is made up of all the files in its root directory and in any subdirectories. An application starts the first time that a user opens one of the Web pages in the application and ends when the server shuts down. The application has two events, an Application_OnStart event and an Application_OnEnd event.

You can specifiy script for these events in the Global file, Global.asa. When the application starts, the server looks in the Global file and processes the Application_OnStart event script. When the application ends, the server processes the Application_OnEnd event script.