Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
RemoveAll Method

HttpSessionStateWrapper.RemoveAll Method

Removes all keys and values from the session-state collection.

Namespace:  System.Web
Assembly:  System.Web (in System.Web.dll)

public override void RemoveAll()

This method performs the same function as the Clear method.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5 SP1
Show:
© 2015 Microsoft