Sequence of Events

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.

ms527147.787845a5-a0eb-4ef0-a02b-af44a9f76e33(en-us,EXCHG.10).gif

An authenticated user opens a mailbox

  1. A user clicks the logon URL or follows a link (http://<server>/exchange, a virtual root) to the logon page for Active Server™ components.
  2. The user enters a mailbox name, domain account name, and password. The script for the logon interaction is contained in the logon.asp file.
  3. 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.
  4. 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.

ms527147.787845a5-a0eb-4ef0-a02b-af44a9f76e33(en-us,EXCHG.10).gif

An unauthenticated user accesses a public folder

  1. 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.)
  2. The user clicks Public Access (or the appropriate Click here) on the logon screen.
  3. A CDO session is started for the unauthenticated user.
  4. 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.

ms527147.787845a5-a0eb-4ef0-a02b-af44a9f76e33(en-us,EXCHG.10).gif

An unauthenticated user posts a message to a public folder

  1. The user opens the public folder, as described in the previous procedure.
  2. 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.

ms527147.787845a5-a0eb-4ef0-a02b-af44a9f76e33(en-us,EXCHG.10).gif A user reads a document or message in a public folder

– Or –

ms527147.787845a5-a0eb-4ef0-a02b-af44a9f76e33(en-us,EXCHG.10).gif

An authenticated user reads a message in a mailbox or public folder

  1. The user opens the mailbox or public folder, as in one of the previous procedures.
  2. The user clicks a message in the mailbox or public folder.
  3. 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.)