System.Web.SessionState.SessionStateStoreData.StaticObjects Property

Gets a collection of objects declared by <object Runat="Server" Scope="Session"/> tags within the ASP.NET application file Global.asax.

Syntax

public virtual System.Web.HttpStaticObjectsCollection StaticObjects { get; }

Value

Documentation for this section has not yet been entered.

Remarks

The

SessionStateStoreData.StaticObjects property is provided for compatibility with earlier versions of ASP.

Custom session-store implementers can obtain a reference to the System.Web.HttpStaticObjectsCollection class for the current System.Web.HttpContext instance using the SessionStateUtility.GetSessionStaticObjects(System.Web.HttpContext) method.

Note:

Custom objects stored in the SessionStateStoreData.StaticObjects collection must support binary serialization. For more information, see Binary Serialization.

Requirements

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