Easy Tutorial
❮ Met Exists Met Keys ❯

ASP Server Object


The Server object is used to access properties and methods related to the server.


Try It - Examples

What is the last modified time of this file?

Open and read a text file

Custom hit counter


Server Object

The ASP Server object is used to access properties and methods related to the server. Its properties and methods are described as follows:

Properties

Property Description
ScriptTimeout Sets or returns the maximum number of seconds a script can run before terminating.

Methods

Method Description
CreateObject Creates an instance of an object.
Execute Executes an ASP file from another ASP file.
GetLastError() Returns an ASPError object that describes the error state that has occurred.
HTMLEncode Applies HTML encoding to a specified string.
MapPath Maps a specified path to a physical path.
Transfer Transfers all created information in an ASP file to another ASP file.
URLEncode Applies URL encoding rules to a specified string.
❮ Met Exists Met Keys ❯