Platform SDK: CDO 1.2.1 |
This application includes the following files:
File | Purpose |
---|---|
default.htm | Takes the user to logon.asp. |
global.asa | Performs Active Server™ startup and shutdown functions, including impersonation to validate the user. |
logoff.asp | This .asp file logs the user off. That is, it causes the Active Server session to be abandoned. As a side effect, the CDO session is also destroyed. |
logon.asp | This .asp file demonstrates the functions in logon.inc. It performs an authenticated logon in that it causes a CDO session to be created (or finds an existing CDO session if one has already been created by this user) and reads properties from the session. |
logon.inc | This include file contains functions written in Microsoft® Visual Basic® Scripting Edition (VBScript) used to log on to a Microsoft Exchange Server. These functions are used in logon.asp. |
When you click a link to the \auth virtual root, Active Server Pages calls the Session_OnStart (and Application_OnStart, if necessary) function in global.asa. The logon.asp script is then run; it includes the logon.inc file that contains actual user-authentication commands.