YouTip LogoYouTip

Coll Staticobjects Sess

# ASP StaticObjects Collection * * Complete Session Object Reference Manual](#) * * * The StaticObjects collection contains all the objects appended to the application/session using the HTML `` tag. ## Syntax Application.StaticObjects(Key) Session.StaticObjects(Key) | Parameter | Description | | --- | --- | | key | Required. The name of the item to retrieve. | * * * ## Example for Application Object ### Example 1 Loop through the StaticObjects collection: <% for each x in Application.StaticObjects Response.Write(x & "
") next %> ### Example 2 In Global.asa: In the ASP file: <% for each x in Application.StaticObjects Response.Write(x & "
") next %> Output: MsgBoard AdRot * * * ## Example for Session Object: ### Example 1 Loop through the StaticObjects collection: <% for each x in Session.StaticObjects Response.Write(x & "
") next %> ### Example 2 In Global.asa: In the ASP file: <% for each x in Session.StaticObjects Response.Write(x & "
") next %> Output: MsgBoard AdRot * * Complete Session Object Reference Manual](#)
← Prop CodepageColl Contents Sess β†’

YouTip © 2024-2026 | Home | Learn Technology, Build Dreams!

All content is for educational and learning purposes only.