hi
i need to know the active user's name by using the codes below
but i can not collect names to a plece
could you tell how i can make this
<SCRIPT LANGUAGE=VBScript RUNAT=Server>
Sub Application_OnStart
Application("Active") = 0
Application("Kimler")=0
End Sub
Sub Application_OnEnd
'nothing needed here for this example
End Sub
Sub Session_OnStart
Session.Timeout = 1
Session("Start") = Now
Application.lock
Application("Active") = Application("Active") + 1
Application("Kimler") = Application("Kimler") + ??
'add 1 to active visitor count when new visitor arrives
Application.unlock
End Sub
Sub Session_OnEnd
Application.lock
Application("Active") = Application("Active") - 1
Application("Kimler") = Application("Kimler")-???
'subtract 1 active visitor when visitor leaves
Application.unlock
End Sub
</SCRIPT>