This documentation is archived and is not being maintained.

HttpSessionState.Mode Property

Gets the current session-state mode.

[Visual Basic]
Public ReadOnly Property Mode As SessionStateMode
public SessionStateMode Mode {get;}
public: __property SessionStateMode get_Mode();
public function get Mode() : SessionStateMode;

Property Value

One of the SessionStateMode values.


See <sessionState> Element for information on how to configure your server for StateServer or SQLServer session state storage mode.


Platforms: Windows 2000, Windows XP Professional, Windows Server 2003 family

See Also

HttpSessionState Class | HttpSessionState Members | System.Web.SessionState Namespace