ASP Server CreateObject Method Last Updated : 29 Dec, 2021 Comments Improve Suggest changes Like Article Like Report The ASP Server CreateObject Method is used to create an instance of a server object. The object created by this method has page scope. These objects are destroyed when the server finished the Current ASP page. We generally use the <object>tag in Global.asa file to create an object in the Session or Application. Syntax: Server.CreateObject(progID) Parameter Values: It Contains the value i.e progID which represents the type of object to create. The format for progID is Component. It is a required parameter. Example-1: Below code, used to create an Object. ASP <% Set adrot=Server.CreateObject("MSWC.AdRotator") %> Example-2: Below code illustrates that we cannot create an object with the same name as the in-built Object. ASP <% Set Application=Server.CreateObject("Application") %> Comment More infoAdvertise with us Next Article ASP Server.MapPath Method M manaschhabra2 Follow Improve Article Tags : Websites & Apps ASP-Methods ASP-Basics Similar Reads ASP Server.Execute Method The ASP Server.Execute Method is used to execute various ASP scripts from the ASP File. This method is quite similar to the procedure call approach in some programming languages. Syntax: Server.Execute(path) Parameter Values Path: It stores a string value that represents the location of the .asp fil 1 min read ASP Server.MapPath Method The MapPath method is used to define a relative virtual path for a physical directory on the server. Note: This method cannot be used in Session.OnEnd and Application.OnEnd. Syntax: Server.MapPath(path) Parameter Value: path: It stores a string value that defines the relative or virtual path to map 1 min read ASP CreateFolder() Method The ASP CreateFolder Method is used to create a new directory or folder in the Server. It is a predefined method of the FileSystem Object. It accepts the name of the folder as a parameter. Syntax: FileSystemObject.CreateFolder( name ) Parameter Values: This method accepts a single parameter as menti 1 min read ASP CreateTextFile Method The ASP CreateTextFile Method is used to create a new Text file in the current Directory It returns a TextStream Object which can be used to read and write the contents to a File. Syntax: FileSystemObject.CreateTextFile(filename[,overwrite[,unicode]]) Parameter Values: filename: It specifies the na 1 min read ASP CreateTextFile() Method The ASP CreateTextFile Method is used to create a new text file in the current folder or directory. It returns a TextStream object that can be used to perform operations on the file. Syntax: For Folder Object: FolderObject.CreateTextFile(filename, overwrite, unicode) For FileSystem Object: FileSyste 2 min read ASP Response Object The Response Object is used to send a response to the client request from a server. It has many predefined methods, properties, and collections.  It has some methods, properties, and collections.  Properties Buffer: It defines that whether the out page would be buffered or not.CacheControl: It is 2 min read Like