我开始学习asp,在使用global.asa时出错了:
<object runat=server scope=seesion id=myinfo
progid="mswc.myinfo">
</object>
<script language=vbscript runat=server>
sub application_onstart
application("today")=date
application("times")=time
application("talk")=""
application("counter")=0
application("count")=0
end sub
</script>
浏览时出现:Active Server Pages, ASP 0134 (0x80004005)
对象标记具有无效的 'mswc.myinfo' ProgID。
/cjr_steven/global.asa, 第 11 行
对应的asp脚本为
<html>
<head><title>appliction事件</title>
</head>
<body>
<center>
<h1>事件和数据集合的使用</h1>
<hr>
<%
for each var in application.contents
respose.write"application变量一:"&var
respose.write",值为"&application.contents(var)
respose.write"<br>"
next
%>
</body>
</html>
请各位高手指点我一下。谢谢
本文地址:http://com.8s8s.com/it/it30665.htm