THE WORLD'S LARGEST WEB DEVELOPER SITE

ASP Contents.RemoveAll Method


❮ Complete Session 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 Session Object Reference