Export (0) Print
Expand All

Session.Contents.RemoveAll Method

IIS 6.0

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

Contents.RemoveAll(
)

This method has no parameters.

This method has no return values.

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


<%Session.Contents.RemoveAll()%> 

Applies To

Client: Requires Windows XP Professional, Windows 2000 Professional, or Windows NT Workstation 4.0.

Server: Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0.

Product: IIS

Show:
© 2014 Microsoft