THE WORLD'S LARGEST WEB DEVELOPER SITE
HTMLCSSJAVASCRIPTSQLPHPBOOTSTRAPJQUERYANGULARXML
 

ASP Contents.RemoveAll Method


Session Object Reference 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()
%>

Session Object Reference Complete Session Object Reference