You can call a Javascript function on ***onUnload*** event to achieve what
you want.

In the .htm for the concerned page, you can modify the <BODY> tag to include
***onUnload=myCleanUp()***

Inside myCleanUp() function,  you can open a new window and invoke
'myProject/myExitPage' ..

Let myExitPage do the removeUserSession and whatever else, and send back a
nice message telling the user that her session has been terminated.


Aby

> -----Original Message-----
> From: [EMAIL PROTECTED] [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, May 24, 1999 12:47 PM
> To:   [EMAIL PROTECTED]
> Subject:      [ND] Ending a ND session when the user closes browser.
> 
> Can I end a ND session when the user closes the browser window?
> Can I end a ND session when the user when the user leaves my site by
> typing in a new URL or clicking bookmark?
> What browser events can trigger a ND event?  
> 
> _________________________________________________________________________
> 
> 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