ASP Application.StaticObjects Collection Last Updated : 01 Feb, 2021 Comments Improve Suggest changes Like Article Like Report The Application.StaticObjects Collection in ASP is used to store all the objects created by using the <object> tag within the scope of the Application object. Syntax Application.StaticObjects( Key ) Parameter Values Key: It is a required parameter. It specifies the name of the property of an object that would be retrieved. Example: HTML <object runat="server" scope="session" id="MsgBoard" progid="msgboard.MsgBoard"> </object> <object runat="server" scope="session" id="AdRot" progid="MSWC.AdRotator"> </object> ASP code: Below code uses an iterating control structure to loop through the keys of the StaticObjects Collection. ASP <% for each x in Session.StaticObjects Response.Write(x & "<br>") next %> Output: MsgBoard AdRot Comment More infoAdvertise with us Next Article ASP Application.StaticObjects Collection M manaschhabra2 Follow Improve Article Tags : Websites & Apps ASP-Properties Similar Reads ASP Session.StaticObjects Collection The Session.StaticObjects Collection in ASP is used to store all the objects created by using the <object> tag within the scope of the session object. Syntax: Session.StaticObjects( Key ) Parameter Values Key: It is a required parameter. It specifies the name of the property of an object tha 1 min read ASP Application Object What is an Application? An Application is a group of two or more ASP files that use to work together to perform a particular task is called an Application. Similarly, An ASP-based application is defined as the collection of all .asp files in the directory and the sub-directory. The ASP Application O 2 min read ASP Contents Collection The ASP Contents Collection is used for collecting the items which are appended to the Application object by using script command. This Collection can also be used to provide a list of items that have been given application scope, The Contents.Remove and Contents.RemoveAll methods can be used to rem 1 min read ASP Files Collection The ASP Files Collection is used to return the collection of all the files present in a specified folder. These can be looped through to get the details of the individual files. Syntax: FolderObject.Files Example: The below code demonstrates the ASP File.Files Collection. ASP <% dim fs,fo,x set f 1 min read ASP Session.Contents Collection The ASP Session.Contents Collection is used for collecting the items which are appended to the Application object by using script command.  This Collection can also be used to provide a list of items that have been given session scope,  We can use the Contents.Remove and Contents.RemoveAll methods 1 min read Like