asp.net.ph

Server.ScriptTimeout Property

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 );

Property Value

The time-out setting for requests.

Exceptions


Exception Type Condition
HttpException Occurs when the time-out period is a null reference ( Nothing in Visual Basic ) or otherwise could not be set.

Example

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 

See Also

HttpServerUtility Members Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph