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.
New on Educative
Learn to Code
Learn any Language as a beginner
Develop a human edge in an AI powered world and learn to code with AI from our beginner friendly catalog
🏆 Leaderboard
Daily Coding Challenge
Solve a new coding challenge every day and climb the leaderboard

Free Resources

Copyright ©2025 Educative, Inc. All rights reserved