The Server Class (HttpServerUtility)
The HttpServerUtility object is pretty much the same as the ASP server object. It provides access to useful server-side tools for use in an ASP.NET application. A brief class overview is shown in Tables B.14 and B.15.
Property | Description |
---|---|
MachineName | Returns the web server’s name. |
ScriptTimeout | Requests timeout for server-side scripts in seconds. |
Method | Description |
---|---|
CreateObject(String progid) | Instantiates a COM object identified via a progid. |
Execute | Executes another web page on the server and holds execution of the current page until the server has finished processing a new page on the server. |
GetLastError | Returns ... |
Get Inside ASP.NET 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.