ASP高手请进!这段代码有哪些问题!在IIS中不能浏览server_ScriptTimeout.asp!

来源:百度知道 编辑:UC知道 时间:2024/05/09 16:02:33
<%
Server.ScriptTimeout=120
%>
<html>
<head>
<title>下落的星星</title>
</head>
<body>

<%
randomize
starx=25
for k=1 to 10
nextsecond=dateadd("s",10,time)
do while time<nextsecond
loop
starx=starx+3*rnd()-1
for i to starx
Response.Write("<p> </p>")
next
Response.Write("<p>*</P>")
next
%>
</body>
</html>
这个程序超时是100S,所以应该现在不会超时!请问如何修改?是不是计算机的某些服务没有打开呢?我装的是网上下载的IIS。如果解决了这个问题,再追加20分!

能不能把你程序里面用到的变量和函数讲解下,指的是什么意思,这样看不出什么问题来...且for i to starx 这句明显有错误,i的初值是什么

i没值...死循环了....造成脚本超时.