title: How can I log out users when they close their browser?
body: <p>I am trying to make a chat room . In <code>Session_Start()</code> in Global.asax I have added user to Onlineusers list . And in <code>Session_End</code> I delete it from onlineusers table . But it removes the username after 20 minutes . How can i resolve this problem ? </p>
  
  <p>Shall i use another method ? </p>