i've got a problem: When a user login my web page, i set field "online" in my database for that user to "1". When the user turns off the web browser, i write a segment of code to set field "online" for that user to "0", But it won't work.
I write that code in Session_End of Global.asax
Thanks