Guest_imported
New member
- Jan 1, 1970
- 0
HI,
I have the following to be done. Once a person logs on to a site, i am maintaining if the user is online/offline in Database. If he logs off the website by clicking a link, i am updating the DB accordingly. But the main problem is, What if the person closes the Browser window instead of logging off? In which case, he remains online according to the DB.
I tried of using the Session_OnEnd Event in Global.asa file, which i guess will fire once the session of the user ends, but this dosent work, or does it? if you can give me any suggestions, it would be great...as i am in urgent need of this.
Thanks
Vikram
I have the following to be done. Once a person logs on to a site, i am maintaining if the user is online/offline in Database. If he logs off the website by clicking a link, i am updating the DB accordingly. But the main problem is, What if the person closes the Browser window instead of logging off? In which case, he remains online according to the DB.
I tried of using the Session_OnEnd Event in Global.asa file, which i guess will fire once the session of the user ends, but this dosent work, or does it? if you can give me any suggestions, it would be great...as i am in urgent need of this.
Thanks
Vikram