lmf232s
08-11-2004, 04:51 PM
Question about
Sub Session_OnEnd
End sub
I think i need someone to explain this for me.
I am trying to keep track of active users on the intranet.
so in the
sub session_onStart
application.lock
Application("ActiveUser") = Application("ActiveUser") + 1
application.unlock
end sub
I create a applicatoin variable to track active users.
in the sub session_onend i am subtracting 1 from the activeuser variable but it does not reflect the change.
When does session_onend fire.
I thought it would fire if i close the browser or if i left the site. But this does not seem to be the case because the application varibale it not reflecting that users are logging off.
Sub Session_OnEnd
End sub
I think i need someone to explain this for me.
I am trying to keep track of active users on the intranet.
so in the
sub session_onStart
application.lock
Application("ActiveUser") = Application("ActiveUser") + 1
application.unlock
end sub
I create a applicatoin variable to track active users.
in the sub session_onend i am subtracting 1 from the activeuser variable but it does not reflect the change.
When does session_onend fire.
I thought it would fire if i close the browser or if i left the site. But this does not seem to be the case because the application varibale it not reflecting that users are logging off.