The Server object provides access to properties and methods on the server. Much of functionality it provides is simply functionality the web server itself uses in the normal processing of client requests and server responses. The syntax, properties and methods of the ASP Server object are as follows:
The ScriptTimeout property sets or returns the maximum amount of time (in seconds) that the script in the page can run before it is terminated. If you do not set a value for this property, the default value is 90 seconds.
The CreateObject method creates an instance of the object (a component, application or a scripting object) and returns a reference to it. Once instantiated, this object's properties and methods can be used just as you can use the properties and methods of the built-in objects that come with ASP.
The Execute method executes another .asp page without leaving the current page. It stops the execution of the current page and transfers control to the page specified in the URL. After that page has finished execution, control passes back to the calling page.
The GetLastError method returns an ASPError object that describes the error condition that occurred.
The HTMLEncode method applies HTML encoding to a specified string. All non-legal HTML characters are converted to their equivalent HTML entity.
The MapPath method maps a specified virtual or relative path to a physical path on the server.
The Transfer method stops execution of the current page and sends all current state information to another page specified in the URL. Unlike the Execute method, execution does not resume in the page calling the Transfer method.
The URLEncode method applies URL encoding rules to a specified string. All characters that are not valid in an URL are converted to their equivalent HTML entity.