Bagikan melalui


IHttpSessionState.SessionID Properti

Definisi

Mendapatkan pengidentifikasi sesi unik untuk sesi tersebut.

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

Nilai Properti

ID sesi.

Contoh

Contoh kode berikut mengimplementasikan SessionID properti IHttpSessionState antarmuka.

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

Berlaku untuk

Lihat juga