那22楼的意思是没有什么办法了吗?在关闭浏览器不触发Session_OnEnd吗?意思是只有关机才触发是吗?
<SCRIPT Language=VBScript RUNAT=Server>
Sub Application_onStart
application.lock
application("online")=0
application.unlock
end sub
Sub Session_OnStart
application.lock
application("online")=application("online")+1
application.unlock
End sub
Sub Session_OnEnd
application.lock
application("online")=application("online")-1
application.unlock
End sub
</SCRIPT>
提示我也试过:
<SCRIPT Language=VBScript RUNAT=Server>
Sub Application_onStart
application("online")=0
end sub
Sub Session_OnStart
application("online")=application("online")+1
End sub
Sub Session_OnEnd
application("online")=application("online")-1
End sub
</SCRIPT>
都不行。有什么错误吗?不胜感激!