application事件
<script language="vbscript" runat="server">sub application_onstart
use=session.sessionid
filename=server.mappath("application_onstart.txt")
set fso=createobject("script.filesystemobject")
set out=fso.creatextfile(filename)
out.writeline(use&"启动了应用程序")
out.close
set out=nothing
set fso=nothing
end sub
sub application_onend
end sub
</script>
这里的application事件是用vbs写的。。如何用js写。。该修改什么地方呢????