w3pop.com :: 网络学院 :: ASP :: ASP ScriptTimeout 属性
The ScriptTimeout property sets or returns the maximum number of seconds a script can run before it is terminated.
ASP ScriptTimeout 属性设置或返回了一个脚本在终止前可以运行的最大时间数,单位:秒。
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秒 |
| 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