IHttpSessionState::RemoveAll Method ()

 

Clears all values from the session-state item collection.

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

void RemoveAll()

RemoveAll performs the same function as Clear.

The following code example implements the RemoveAll method of the IHttpSessionState interface to delete all items from an internal session-state item collection.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: