View Full Version : Trapping Browser Closing???

09-10-2004, 08:27 AM

I have an ASP application that connects to an access database. I have created a login page that requires a username and password. I need a way to:

1) See who is logged at at any particular time.

2) See when each user logged on (timestamp + SessionID)

3) See When that user logged off (or closed the browser window!)

Numbers 1 and 2 above are easy enough but I cannot find a way to know when the user has closed the browser (I want to consider this to be the log off time).

Any ideas?

09-10-2004, 08:49 AM