Sequence of Events
The following procedures describe the events that take place and the flow of data as selected messaging tasks are performed. To see a diagram showing how the elements mentioned in these descriptions relate to one another, see The Active Server Components of Microsoft Exchange.
An authenticated user opens a mailbox
- A user clicks the logon URL or follows a link (http://<server>/exchange, a virtual root) to the logon page for Active Server™ components.
- The user enters a mailbox name, domain account name, and password. The script for the logon interaction is contained in the logon.asp file.
- If the user is authenticated through the Microsoft® Windows NT® domain controller, an Active Server Pages session is started, which maintains session information until the user logs off or the session times out. (After authentication, the session timer starts when the first page is sent to the browser, and is restarted when each subsequent page is sent to the browser.)
A CDO Session object is created and stored as a state variable in the Active Server Pages session. This lets the CDO Library and CDO Rendering Library make messaging calls to retrieve information store data from Microsoft® Exchange Server.
- The Inbox for this Session object is opened. This becomes visible to the user as the script file root.asp is executed. The Inbox is displayed in four frames from the \inbox directory. (Anonymous users are directed to the file \anon\root.asp.) For more information, see Directory Structure.
An unauthenticated user accesses a public folder
- A user clicks the logon URL or follows a link (http://<server>/exchange, a virtual root) to the logon page. (Alternatively, a user may have followed a URL to the public folder, in which case the user is logged on transparently, and sees no logon page.)
- The user clicks Public Access (or the appropriate Click here) on the logon screen.
- A CDO session is started for the unauthenticated user.
- The root folder of the public folder tree is displayed as the file \anon\root.asp is rendered. Only certain public folders are visible. The administrator determines which folders are available to unauthenticated users, using the HTTP Protocol object in the Protocols container on the site.
An unauthenticated user posts a message to a public folder
- The user opens the public folder, as described in the previous procedure.
- The user clicks Post New Item. The browser supplies the name "Anonymous" (or a suitable equivalent in the user's language, if not English) to be displayed on messages posted to public folders. Unauthenticated users can post messages, but they cannot send e-mail messages.
A user reads a document or message in a public folder
– Or –
An authenticated user reads a message in a mailbox or public folder
- The user opens the mailbox or public folder, as in one of the previous procedures.
- The user clicks a message in the mailbox or public folder.
- If the user is opening a message in a mailbox, the file \forms\ipm\note\read.asp is loaded into Microsoft® Active Server Pages, which renders the message using the CDO Rendering Library. (The file \forms\ipm\post\read.asp is used to render a message in a public folder.)