<script language=vbscript runat=Server>
sub Application_Onstart
Application.lock
application("all")=0
application("online")=0
application("check")=0
application.unlock
end sub
</script>
<script language=vbscript runat=Server>
sub Application_Onend
Application.lock
application("all")=0
application("online")=0
application.unlock
end sub
</script>
<script language=vbscript runat=Server>
sub Session_Onstart
application.lock
application("all")=application("all")+1
application("online")=application("online")+1
application.unlock
end sub
</script>
<script language=vbscript runat=Server>
sub Session_Onend
application.lock
application("online")=application("online")-1
application("check")=application("check")+1
application.unlock
end sub
</script>
以上代码是用vb编写的session与application对象的事件。。请问一下。。用js如何编写session对象与application对象的onstart与onend事件呢????急急.
用js语法编写session_onstart事件