SAMPLE: ASPSess.exe Passes CDO Session to Separate ASP Page

ID: Q195682

The information in this article applies to:

SUMMARY

AspSess.exe is a sample that demonstrates how to pass a Collaboration Data Objects (CDO) Session object from one Active Server Pages (ASP) page to a second Active Server Pages page.

MORE INFORMATION

The following file is available for download from the Microsoft Software Library:

 ~ ASPSess.exe (size: 26754 bytes) 

Release Date: Nov-18-1998

For more information about downloading files from the Microsoft Software Library, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q119591
   TITLE : How to Obtain Microsoft Support Files from Online Services

ASPSess.exe uses a Global.asa file to store the CDO session object in an Internet Information Server (IIS) application session variable. By using the IIS session variable, you can use the same CDO session from a different Active Server Pages page as long as you use the same IIS session variable name. This is very useful in complex multi-page web-based CDO projects.

The included files have the following functions:

Steps to Install

1. Create a new directory for the ASPSess.exe on the hard drive of a

   server with both IIS and Exchange Server installed. Copy the file to
   that directory.

2. Run ASPSess.exe. The four files listed previously are created in the
   directory.

3. Create a new virtual directory in IIS Management Console and set the
   authentication method to NTLM (NT Challenge/Response) only.

4. Make sure that the permissions for the virtual directory allow script
   execution.

Additional query words: Keywords : kbfile kbsample kbASP kbCDO120 kbCDO121 kbMsg

Last Reviewed: November 19, 1998