The Server Object is used to access properties and methods on the server.

Property

  • ScriptTimeout - Sets how long a script can run before it is terminated

Method

  • CreateObject(type_of_object) - Creates an instance of an object
  • Execute(path) - Executes an ASP file from inside another ASP file. After executing the called ASP file, the control is returned to the original ASP file
  • GetLastError() - Returns an ASPError object that will describe the error that occurred
  • HTMLEncode(string) - Applies HTML encoding to a string
  • MapPath(path) - Maps a relative or virtual path to a physical path
  • Transfer(path) - Sends all of the state information to another ASP file for processing. After the transfer, procedural control is not returned to the original ASP file
  • URLEncode(string) - Applies URL encoding rules to a string



Practice Excercise Practice now