SessionStateItemCollection Class
.NET Framework 3.0
A collection of objects stored in session state. This class cannot be inherited.
Namespace: System.Web.SessionState
Assembly: System.Web (in system.web.dll)
System.Web.SessionState Namespace
Assembly: System.Web (in system.web.dll)
public ref class SessionStateItemCollection sealed : public NameObjectCollectionBase, ISessionStateItemCollection, ICollection, IEnumerable
public final class SessionStateItemCollection extends NameObjectCollectionBase implements ISessionStateItemCollection, ICollection, IEnumerable
public final class SessionStateItemCollection extends NameObjectCollectionBase implements ISessionStateItemCollection, ICollection, IEnumerable
Not applicable.
The 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 HttpSessionState class, which is accessed using the Session property of the current HttpContext or the Page. The HttpSessionState class calls the HttpSessionStateContainer class, which manages session-state variable values using the SessionStateItemCollection.
Notes to Implementers: When you create a custom session-state provider based on the SessionStateStoreProviderBase class, use the SessionStateItemCollection class to manage the items stored in session state. If you need to create a custom object to manage session-state items, implement the ISessionStateItemCollection interface.- AspNetHostingPermission for using the HttpSessionState class in a hosted environment. Demand value: LinkDemand. Permission value: Minimal.
System.Object
System.Collections.Specialized.NameObjectCollectionBase
System.Web.SessionState.SessionStateItemCollection
System.Collections.Specialized.NameObjectCollectionBase
System.Web.SessionState.SessionStateItemCollection
Reference
SessionStateItemCollection MembersSystem.Web.SessionState Namespace
Other Resources
ASP.NET Session StateCommunity Additions
ADD
Show: