Hi,<BR> I am using the following code in my Global.asa file, for getting the active number of users on my site. what I get is the number of hits on my site. so when a session is ended, it does not reduce the active number of users. Can someone help me out. <BR><BR>Here is the code in Global.asa.<BR><BR>&#060;SCRIPT LANGUAGE="VBScript" RUNAT="Server"&#062;<BR>Sub Application_OnStart<BR> Session.Timeout = 2 <BR> Application.Lock<BR> Application("Active") = 0<BR> Application.UnLock<BR>End Sub<BR><BR><BR>Sub Session_OnStart<BR><BR>Application.Lock<BR>Applica tion("Active") = Application("Active") + 1<BR>Application.UnLock<BR>End Sub <BR><BR>Sub Session_OnEnd<BR>session.Abandon<BR>Application.Lo ck<BR>Application("Active") = Application("Active") - 1<BR>Application.UnLock<BR>End Sub <BR>&#060;/SCRIPT&#062;<BR><BR>Thanks.<BR>