What is ASP Server Object?

The ASP Server object is used on the server to access the different methods and properties available on the server.

There are some methods and properties described below:

Methods

  • URLEncode: This is used on a specific string to apply URL Encoding.

  • MapPath: This is mainly used to direct a certain path to the physical path.

  • Transfer: This is used to send data of one ASP file to another ASP file.

  • GetLastError(): This gets an ASPError object that contains the information about the error.

  • Execute: This runs a specific ASP file code in another ASP file.

  • CreateObject: This is used to create an instance of a particular object.

Properties

  • ScriptTimeout: We can use this to get the maximum code execution time, and it can also be used to set the time.

Free Resources

Copyright ©2025 Educative, Inc. All rights reserved