Jeffrey,

If you do
>>removeUserSession()<<
>>this_onBeforeLoadEvent(..)<<
ND will be confused and upset.

If you do it 
>>this_onBeforeHtmlOutput(..)<<

it will work fine.


Aby


> -----Original Message-----
> From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, April 28, 1999 5:27 PM
> To:   [EMAIL PROTECTED]
> Subject:      Re: [ND] removeUserSession
> 
> 
> I do not find a solution to this problem, which I also have, listed
> anywhere in the forum.  Does anyone have any ideas?
> 
> Thanks,
> jeffrey huffman,
> Systems Engineer
> St. Thomas Health Services
> 
> >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> William Jaynes <[EMAIL PROTECTED]> wrote:
> >I'm trying to build a logout function that will remove the user's
> >session and then close the browser window. I have an ND page, pgLogout,
> >where the html consists entirely of JavaScript to close the window.
> >Nothing else. In the this_onBeforeLoadEvent I've put
> >CSpider.removeUserSession(). The logout button on another page simply
> >loads pgLogout. BUT, when I hit the logout button I get an ND error page
> >("A severe application error occured. Please notify the System
> >Administrator immediately! ) The log shows that
> >pgLogout.this_onBeforeLoadEvent is entered and exited, but pgLogout
> >doesn't get displayed for any length of time, and the window is not
> >closed. The log also contains an error "createDefaultSessionEnvironment:
> >Creating a default Session environment as a way to continue".
> >
> >If I use CSpider.clearUserSession() I get the same behavior (error page,
> >log messages), accept that the session is NOT cleared. I can hit the
> >back button and continue with the application, and all the session
> >variables still exist.
> >
> >Clearly I'm missing something here. Any suggestions?
> >-- 
> >William Jaynes   | University of Michigan Health System
> >[EMAIL PROTECTED] | 4251 Plymouth Rd., Suite 1300
> >313-763-9039     | Ann Arbor, MI  48105-2785
> 
> _________________________________________________________________________
> 
> For help in using, subscribing, and unsubscribing to the discussion
> forums, please go to: http://www.netdynamics.com/support/visitdevfor.html
> 
> For dire need help, email: [EMAIL PROTECTED]
_________________________________________________________________________

For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html

For dire need help, email: [EMAIL PROTECTED]

Reply via email to