Platform SDK: CDO 1.2.1 |
Each of these sample applications uses a script called global.asa. This file contains Microsoft® Visual Basic® Scripting Edition (VBScript) code, it is run on the server, and its functions are called by Active Server Pages. The two main functions of global.asa create the necessary Application and Session objects for a session that is just beginning, make system services available, and handle impersonation to ensure that the Microsoft® Internet Information Server (IIS) thread for a given user is associated with the correct logon credentials.
Global.asa is the starting point for every ASP application. Typically, global.asa contains the following four VBScript functions:
For more information about global.asa, see the topic "Using the Global.asa File" in the Active Server Pages Roadmap. You receive the Roadmap when you install IIS.