System.Web.SessionState.IHttpSessionState: Method Members

The methods of System.Web.SessionState.IHttpSessionState are listed below. For a list of all members, see the IHttpSessionState Members list.

Public Methods

Abandon()

Ends the current session.

Add(string, object)

Adds a new item to the session-state collection.

Clear()

Clears all values from the session-state item collection.

CopyTo(Array, int)

Copies the collection of session-state item values to a one-dimensional array, starting at the specified index in the array.

GetEnumerator() : IEnumerator

Returns an enumerator that can be used to read all the session-state item values in the current session.

Remove(string)

Deletes an item from the session-state item collection.

RemoveAll()

Clears all values from the session-state item collection.

RemoveAt(int)

Deletes an item at a specified index from the session-state item collection.