HttpSessionState.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.SessionState
Assembly:  System.Web (in System.Web.dll)

public void RemoveAll()

RemoveAll performs the same function as Clear.

.NET Framework
Available since 1.1
Return to top