当前位置: 首页 > 网络学院 > 服务端脚本教程 > ASP > ASP ScriptTimeout 属性

ASP
ASP Drive
ASP File
ASP Folder
ASP Dictionary
ASP ADO
ASP AdRotator
ASP BrowserCap
ASP Content Linking
ASP Content Rotator
ASP Quick Ref
ASP 摘要
ASP 实例

ASP ScriptTimeout 属性


出处:互联网   整理: 软晨网(RuanChen.com)   发布: 2009-03-04   浏览: 354 ::
收藏到网摘: n/a

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

登陆 | 还没注册?