Thanks for the reply Srini, a question-
Can't we use onUnload event of Javascript to know when the user exited, ya it will
         be pain to put it on every single page. I know it fires when you exit the 
page and
         go to another but I am not sure about exiting via closing the browser it self.

Vishal

>Hi,
> Talking of user exiting an application,  he can simply close the browser
>window. If that is the case, Netscape does not send back a message to the
>WEb server or
>to the netD server in turn that the application has been exited. If the user
>does this, your application will never know about the occurence of the
>event. OnSessionExpiring event maybe your best bet, as this would get fired
>for certain when the session is about to be removed from the PE, which might
>not neccessarily be the session timeout time specified in your project.
>
>thanks
>
>Srini


"Vishal Guatam" <[EMAIL PROTECTED]> wrote:
>
>Hi,
>
>I have to log how long the user was on the site, i can have store 
>proc that will write to the DB but when to call it. I don't trust 
>on the onSessionExpiringEvent because I don't know how to fire it,
>CSpider.removeUserSession() does not necessarily activates 
>it (please correct me if I am wrong).
>There are 2 possible 
>ways I can see a user will exit- Logout or 
>types an external url 
>in the borwser, how will I take care of the second way?
>
>Any suggestions/pointers will be appreciated.
>
>TIA
>
>Vishal

_________________________________________________________________________

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