SessionStateStoreData.Items Property

Definition

The session variables and values for the current session.

public:
 virtual property System::Web::SessionState::ISessionStateItemCollection ^ Items { System::Web::SessionState::ISessionStateItemCollection ^ get(); };
public virtual System.Web.SessionState.ISessionStateItemCollection Items { get; }
member this.Items : System.Web.SessionState.ISessionStateItemCollection
Public Overridable ReadOnly Property Items As ISessionStateItemCollection

Property Value

An ISessionStateItemCollection object that contains variables and values for the current session.

Remarks

The Items property references the session-state variables that are exposed to ASP.NET application code using the HttpSessionState class, which is accessed using the Session property of the current HttpContext or the Page instance.

By default, session-state variables are managed using the SessionStateItemCollection object. Custom session-store implementers can supply their own implementation of the ISessionStateItemCollection interface.

Applies to

See also