HttpServerUtility

ASP.NET's HttpServerUtility object is exposed via ASP.NET's intrinsic Server object. The Server object provides methods and properties for carrying out routine tasks while processing requests.

The HttpServerUtility object supports two public properties and a handful of public methods. Table C.11 shows the server utility object's public properties, and Table C.12 lists its public methods.

Table C.11. HttpServerUtility Properties
Property Description
MachineName Returns a string value representing the server machine name
ScriptTimeout Gets and sets an integer value representing the number of seconds for requests to timeout
Table C.12. New HttpServerUtility Methods
Method Description
ClearError Clears the last exception thrown. ...

Get Building e-Commerce Sites with the .NET Framework now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.