标题:用js语法编写session_onstart事件
取消只看楼主
rgbtdkjcel
Rank: 1
等 级:新手上路
帖 子:294
专家分:0
注 册:2007-3-26
结帖率:50%
 问题点数:0 回复次数:0 
用js语法编写session_onstart事件

<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事件呢????急急.

搜索更多相关主题的帖子: session onstart 语法 编写 
2007-06-10 18:32



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-146375-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.417569 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved