System.Web.SessionState.HttpSessionStateContainer.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 System.Web.HttpStaticObjectsCollection StaticObjects { get; }

Value

Documentation for this section has not yet been entered.

Remarks

If an object on a page does not support serialization and HttpSessionStateContainer.Mode is out-of-process (SessionStateMode.SQLServer or SessionStateMode.StateServer), the object will not be created and will not be added to this collection.

HttpSessionStateContainer.StaticObjects is provided for compatibility with earlier versions of ASP.

Requirements

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