ASP Server Object
The Server object is used to access properties and methods on the server.
 |
Try it Yourself - Examples |
When was a file last modified?
Check when a file was last modified.
Open a text file for reading
Open "Textfile.txt" for reading.
Homemade hit counter
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 |
Click here to design a Stunning Flash Website for Free
Wix is a revolutionary web design tool that provides anyone with the possibility to create professional and beautiful websites for free.
With e-commerce features, search engine visibility and many more professional tools, Wix is the ultimate solution for creating a spectacular site while saving tons of money.
|