Udostępnij za pośrednictwem


IHttpSessionState.SessionID Właściwość

Definicja

Pobiera unikatowy identyfikator sesji dla sesji.

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

Wartość właściwości

String

Identyfikator sesji.

Przykłady

Poniższy przykład kodu implementuje SessionID właściwość interfejsu IHttpSessionState .

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

Dotyczy

Zobacz też