Saturday, 14 September 2013

How can I log out users when they close their browser?

How can I log out users when they close their browser?

I am trying to make a chat room . In Session_Start() in Global.asax I have
added user to Onlineusers list . And in Session_End I delete it from
onlineusers table . But it removes the username after 20 minutes . How can
i resolve this problem ?
Shall i use another method ?

No comments:

Post a Comment