Platform SDK: CDO 1.2.1 |
The logoff.asp script file logs the CDO session off. It first sends a notification to this effect to the browser, and then calls
Session.Abandon
This call causes Active Server Pages to call Session_OnEnd in the global.asa file.
However, it would be possible to explicitly log off (terminate the MAPI session) within logoff.asp — not global.asa — by setting all CDO session variables containing objects to Nothing and emptying all other CDO session variables.
Then, this script lets the user log on again with a link to logon.asp:
<a href="logon.asp">Logon.asp</a>