ASP Server Object
The ASP Server object is used to access properties and methods on the server.
Examples
When was a file last
modified?
Checks when this file was last modified.
Open a text file for reading
This example opens the file "Textfile.txt" for reading.
Homemade hit counter
This example reads a number from a file, adds 1 to the number, and writes the
number back to the file.
Server Object
The ASP Server object is used to access properties and methods on the server.
Its properties and methods are described below:
Properties
| Property |
Description |
| ScriptTimeout |
Sets or returns the maximum number of seconds a script can run before it is
terminated |
Methods
| Method |
Description |
| CreateObject |
Creates an instance of an object |
| Execute |
Executes an ASP file from inside another ASP file |
| GetLastError() |
Returns an ASPError object that describes the error condition that
occurred |
| HTMLEncode |
Applies HTML encoding to a specified string |
| MapPath |
Maps a specified path to a physical path |
| Transfer |
Sends (transfers) all the information created in one ASP file to a second
ASP file |
| URLEncode |
Applies URL encoding rules to a specified string |
Learn how your website performs under various load conditions
 |
|
WAPT
is a load, stress and performance testing tool for websites and web-based applications.
In contrast to "800-pound gorilla" load testing tools, it is designed to minimize the learning
curve and give you an ability to create a heavy load from a regular workstation.
WAPT is able to generate up to 3000 simultaneously acting virtual users using standard hardware configuration.
Virtual users in each profile are fully customizable. Basic and NTLM authentication methods are supported.
Graphs and reports are shown in real-time at different levels of detail, thus helping to manage the testing process.
Download the free 30-day trial!
|
|