网络学院 w3pop社区 网络资源 IT新闻

w3pop.com :: 网络学院 :: ASP :: ASP ScriptTimeout 属性

会员登陆

帐号

密码

回答

记住密码

忘记密码? 注册

ASP ScriptTimeout 属性


作者:w3pop.com 翻译/整理:w3pop.com 发布:2007-04-28 浏览:1216 :: ::

The ScriptTimeout property sets or returns the maximum number of seconds a script can run before it is terminated.
ASP ScriptTimeout 属性设置或返回了一个脚本在终止前可以运行的最大时间数,单位:秒。

Syntax
语法

Server.ScriptTimeout[=NumSeconds]

Parameter
参数
Description
描述
NumSeconds The maximum number of seconds a script can run before the server terminates it. Default is 90 seconds
设置脚本在终止前运行的最大时间数,单位:秒;默认为90秒

Examples
举例

Example 1

Set the script timeout:

<%
Server.ScriptTimeout=200
%>

Example 2

Retrieve the current value of the ScriptTimeout property:

<%
response.write(Server.ScriptTimeout)
%>

评论 (0) All