IHttpSessionState.Mode Property

 

Gets the current session-state mode.

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

ReadOnly Property Mode As SessionStateMode

Property Value

Type: System.Web.SessionState.SessionStateMode

One of the SessionStateMode values.

For information on different session-state modes, see Session-State Modes.

The following code example implements the Mode property of the IHttpSessionState interface.

Public ReadOnly Property Mode As SessionStateMode Implements IHttpSessionState.Mode    
  Get
    Return pMode
  End Get
End Property

.NET Framework
Available since 2.0
Return to top
Show: