Hi! I am going to design a system which do not allow multiple login and I used a database for this purpose. I created a table for online users and every time I check the database before login. But the problem is.... If the user do not push logout button (which will delete his own record in DB) only he close the browser or wait exceed the session timeout. How can I recognise he is still online or not?? I have tried the Sub session_onend .... but it didn&#039;t work. Can anyone help me?<BR>Here is the code:<BR>Sub Session_OnEnd<BR> Dim Conn<BR> Set Conn = Server.CreateObject("ADODB.Connection")<BR> Conn.Open "&#060;Connection String&#062;"<BR> Application.Lock<BR> Conn.Execute("SQL")<BR> Application.Unlock<BR>End Sub