System.Web Namespace HttpServerUtility Class
Gets and sets the request time-out in seconds.
[ VB ]
Public Property ScriptTimeout As Integer
[ C# ]
public int ScriptTimeout {get; set;}
[ C++ ]
public: __property int get_ScriptTimeout ( );
public: __property void set_ScriptTimeout ( int );
[ JScript ]
public function get ScriptTimeout ( ) : int;
public function set ScriptTimeout ( int );
The time-out setting for requests.
Exception Type |
Condition |
HttpException |
Occurs when the time-out period is a null reference ( Nothing in Visual Basic ) or otherwise could not be set. |
The following example shows the simplest way to retrieve and display the ApplicationPath for the current URL request.
<%= Server.ScriptTimeout %>
And which, for this page, returns the following:
110
Show me
HttpServerUtility Members