Tutorials References Exercises Videos Menu
Create Website Get Certified Upgrade

ASP Contents.RemoveAll Method


❮ Complete Application Object Reference

The Contents.RemoveAll method deletes all items from the Contents collection.

Syntax

Application.Contents.RemoveAll()

Session.Contents.RemoveAll()

Example for the Application Object

<%
Application.Contents.RemoveAll()
%>

Example for the Session Object

<%
Session.Contents.RemoveAll()
%>

❮ Complete Application Object Reference