Environment versions
Network:
Windows 2000 Server
>Hello all, when I say login in I mean opens the site in a browser, users aren't required to login via a dialog box, and the same goes for logging out I mean when they close the site - or is this all different in Web world ?
Then Session_OnStart() will get you the first time. But you can't get an accurate time for when they close their browser - the server has no way of knowing when that happens - as before Session_OnEnd() will fire when the session times out but that could be some time after they have actually closed the browser.
You could try code on the client side to watch for the window.onbeforeunload() event and signal the server from there - but I've never tried it......
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only