超級郁悶的global.asa
我写了两天了,没都写好
寻求CSDN下朋友的帮助 global.asa+FSO实现访问总人数的统计
谢谢
------解决方案-------------------- <Script Languge=VBScript Runat=server>
Sub Application_OnStart
Application.Lock
Application( "online ")=0
Apllcation.UnLock
End sub
Sub Session_OnStart
Application.Lock
Application( "online ")=Application( "online ")+1
Apllcation.UnLock
End sub
Sub Session_OnEnd
Application.Lock
Application( "online ")=Application( "online ")-1
Apllcation.UnLock
End sub
</script>