The CheckAMAnonSession function checks that an anonymous CDO session exists in the Application object, with the following function call:
Set amSession= Application( "AMAnonSession")
If the session does not exist, it creates one by calling the NoAnonSession function.
The NoAnonFolders function builds a list of folders published by the Microsoft Exchange administrator. This list is stored as the Application( "AMAnonFolders") variable and is suitable to use as a ContainerRenderer datasource.
The priv_ReportError function prepares an error text string and sends it to the browser.