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?
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. |