IHttpSessionState.SessionID Eigenschap

Definitie

Hiermee haalt u de unieke sessie-id voor de sessie op.

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

Waarde van eigenschap

De sessie-ID.

Voorbeelden

In het volgende codevoorbeeld wordt de SessionID eigenschap van de IHttpSessionState interface geïmplementeerd.

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

Van toepassing op

Zie ook