Server Object (IIS)
You can use the Server object to access methods and properties on the server. Most of these methods and properties serve as utility functions.
Methods
The Server object defines the following methods.
Method |
Description |
---|---|
Creates an instance of a server component. |
|
Executes an .asp file. |
|
Returns an ASPError object that describes the error condition. |
|
Applies HTML encoding to the specified string. |
|
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. |
|
Sends all of the current state information to another .asp file for processing. |
|
Applies URL encoding rules, including escape characters, to the string. |
Properties
The Server object defines the following property.
Property |
Description |
---|---|
The amount of time that a script can run before it times out. |
Requirements
Client: Requires Windows XP Professional, Windows 2000 Professional, or Windows NT Workstation 4.0.
Server: Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0.
Product: IIS