PDA

View Full Version : online users


anishtain4
04-03-2005, 01:14 PM
hi
I tryed to write a code for counting the online users but my code don't work correct I have problem with global.asa
anyone can help me?

jaywhy13
04-04-2005, 03:43 AM
Sure! How about posting some of that code

anishtain4
05-03-2005, 07:26 AM
<SCRIPT language= "vbscript" runat= "server" >
SUB session_onstart
Application("ons") = Application("ons") + 1
END SUB
SUB session_onend
Application("ons") = Application("ons") - 1
END SUB
</SCRIPT>
some times onstart work without working onend