HttpSessionStateWrapper.RemoveAll Method ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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
Available since 3.5
Return to top