Versions des environnements
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......
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement