IHttpSessionState.SessionID Property

 

Gets the unique session identifier for the session.

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

ReadOnly Property SessionID As String

Property Value

Type: System.String

The session ID.

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

Public ReadOnly Property SessionID As String Implements IHttpSessionState.SessionID
  Get
    Return pId
  End Get
End Property

.NET Framework
Available since 2.0
Return to top
Show: