YouTip LogoYouTip

Asp Applications

# ASP Application Object * * * A group of ASP files that work together to accomplish a task is called an application. * * * ## Application Object An application on the web can be a set of ASP files. These ASP files work together to complete a task. The Application object in ASP is used to bundle these files together. The Application object is used to store and access variables from any page, similar to the Session object. The difference is that all users share one Application object, while Session objects correspond one-to-one with users. The Application object holds information that will be used by many pages in the application (such as database connection information). This information can be accessed from any page. At the same time, you can change this information in one place, and those changes will automatically reflect across all pages. * * * ## Storing and Retrieving Application Variables Application variables can be accessed and modified by any page within the application. You can create Application variables in "Global.asa", as shown below: Sub Application_OnStart application("var
← Asp IncfilesAsp Sessions β†’