PagesSection.EnableSessionState Property
.NET Framework 2.0
Gets or sets a value that specifies whether the session state is enabled, disabled, or read-only.
Namespace: System.Web.Configuration
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
public: property PagesEnableSessionState EnableSessionState { PagesEnableSessionState get (); void set (PagesEnableSessionState value); }
/** @property */ public PagesEnableSessionState get_EnableSessionState () /** @property */ public void set_EnableSessionState (PagesEnableSessionState value)
public function get EnableSessionState () : PagesEnableSessionState public function set EnableSessionState (value : PagesEnableSessionState)
Not applicable.
Property Value
One of the values for the EnableSessionState property, which specifies whether the session state is enabled, disabled, or read-only. The default is True, which indicates that session state is enabled.| Exception type | Condition |
|---|---|
|
The new value is not a valid PagesEnableSessionState enumeration value. |
Community Additions
ADD
Show: