What is the best way to handle browser crash or browser close?

  • Thread starter Thread starter Champika Nirosh
  • Start date Start date
C

Champika Nirosh

Hi All,

I have a asp .net app and it is a online test application so tracking the
user behaviour is very important. The problem is in what way I can identify
the user logoff time if it happens to loggoff due to a browser crash.

Nirosh.
 
I don't think you can identify when it happens. You probably have to use
session timeouts and check to see if the user is still present, and extend
or close the session accordingly.
 
Morten,

I am already using session_end method to track it but as it come to that
method session already expired so I have no access to any of the session
varibale to identify the user etc..
Is there any other way, I can get the deatil of the expired session??

else

Is their any way to track the browser close/ crash using a java script or
applet (c# or java)?

Nirosh


I don't think you can identify when it happens. You probably have to use
session timeouts and check to see if the user is still present, and extend
or close the session accordingly.
 
Don't think so, other than checking frequently for the presence of the
user. It may not even be the browser, the internet connection may be
broken somewhere.
 
Yes I agree, but still don't they have a standard solution for this very
comman problem.

Nirosh.
 
Back
Top