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

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.
 
M

Morten Wennevik

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.
 
C

Champika Nirosh

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.
 
M

Morten Wennevik

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.
 
C

Champika Nirosh

Yes I agree, but still don't they have a standard solution for this very
comman problem.

Nirosh.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top