Contents.RemoveAll

The RemoveAll method deletes all items that have been added to the Session object's Contents collection.

Syntax

Session.Contents.RemoveAll ()

 

Example

The following example removes all items that have been added to the Session.contents collection:

<%Session.Contents.RemoveAll()%>
Applies To

Session Object

See Also

Session.Contents.Remove