What is the server object ?
![]() Don't want to miss a single bit? Subscribe By Email for Daily Jobs |
The Server object provides several miscellaneous functions that you can use in your Active Server Page applications. Although most of its methods are seldom used, one method, the CreateObject method, and the Server object’s single property, ScriptTimeout, are invaluable. You will use these in many of your scripts.
The Server object, as its name implies, represents the web server itself, and much of the functionality it provides is simply functionality the web server itself uses in the normal processing of client requests and server responses.
ScriptTimeout
Server.ScriptTimeout [= lngNumSeconds]
Specifies the maximum amount of time the web server will continue processing your script. If you do not set a value for this property, the default value is 90 seconds.
CreateObject
Set objMyObject = Server.CreateObject(strProgId)
Instantiates an object on the server. Once instantiated, this object’s properties and methods can be used just as you can use the properties and methods of the objects that come with ASP. The DLLs from which these objects are instantiated must be installed and registered on the web server machine separately from your installation of IIS.
Related Articles
- What is ASP.Net ?
- Is the server or the client in control in AJAX?
- How many groups of roles are supported in SQL Server ? Explain them
- What is ISAPI ?
- What is OLAP ?


