IHttpSessionState.SessionID Egenskap

Definition

Hämtar den unika sessionsidentifieraren för sessionen.

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

Egenskapsvärde

ID för sessionen

Exempel

I följande kodexempel implementeras SessionID egenskapen för IHttpSessionState gränssnittet.

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

Gäller för

Se även