Server Object

The Server object provides access to methods and properties on the server. Most of these methods and properties serve as utility functions.

Syntax

Server.property|method

 

Properties
ScriptTimeout The amount of time that a script can run before it times out.

Methods
CreateObject Creates an instance of a server component.
Execute Executes an .asp file.
GetLastError Returns an ASPError object that describes the error condition.
HTMLEncode Applies HTML encoding to the specified string.
MapPath Maps the specified virtual path, either the absolute path on the current server or the path relative to the current page, into a physical path.
Transfer Sends all of the current state information to another .asp file for processing.
URLEncode Applies URL encoding rules, including escape characters, to the string.