System.Web.SessionState.IHttpSessionState.Clear Method

Clears all values from the session-state item collection.

Syntax

public void Clear ()

Remarks

IHttpSessionState.Clear performs the same function as IHttpSessionState.RemoveAll.

Requirements

Namespace: System.Web.SessionState
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0