System.Web.SessionState.SessionStateItemCollection Class

A collection of objects stored in session state. This class cannot be inherited.

See Also: SessionStateItemCollection Members

Syntax

public sealed class SessionStateItemCollection : System.Collections.Specialized.NameObjectCollectionBase, ISessionStateItemCollection

Remarks

The System.Web.SessionState.SessionStateItemCollection class is used to manage session-state variable values indexed by a variable name or by numerical index. The session-state variables are exposed to ASP.NET application code using the System.Web.SessionState.HttpSessionState class, which is accessed using the System.Web.HttpContext.Session property of the current System.Web.HttpContext or the System.Web.UI.Page. The System.Web.SessionState.HttpSessionState class calls the System.Web.SessionState.HttpSessionStateContainer class, which manages session-state variable values using the System.Web.SessionState.SessionStateItemCollection.

Requirements

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