Skip to content
Related Articles

Related Articles

ASP Session.Contents.RemoveAll Method
  • Last Updated : 27 Jan, 2021
GeeksforGeeks - Summer Carnival Banner

The Session.Contents.RemoveAll Method in ASP is used to remove or erase all the items from the content List. It is a predefined method of the Session type Object.



Parameter Value: This method does not contain any value.

Return Value: It does not return any value.

Example Code: Below code used to delete all the items from the content collection.


Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.

My Personal Notes arrow_drop_up
Recommended Articles
Page :