Επεξεργασία

Κοινή χρήση μέσω


IHttpSessionState.SessionID Property

Definition

Gets the unique session identifier for the session.

public:
 property System::String ^ SessionID { System::String ^ get(); };
public string SessionID { get; }
member this.SessionID : string
Public ReadOnly Property SessionID As String

Property Value

The session ID.

Examples

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

public string SessionID
{
  get { return pId; }
}
Public ReadOnly Property SessionID As String Implements IHttpSessionState.SessionID
  Get
    Return pId
  End Get
End Property

Applies to

See also