IHttpSessionState::Remove Method (String^)
.NET Framework (current version)
Deletes an item from the session-state item collection.
Assembly: System.Web (in System.Web.dll)
Parameters
- name
-
Type:
System::String^
The name of the item to delete from the session-state item collection.
The following code example implements the Remove method of the IHttpSessionState interface to delete a session-state item from the session-state item collection by key name.
.NET Framework
Available since 2.0
Available since 2.0
Show: