다음을 통해 공유


IHttpSessionState.SessionID 속성

정의

세션의 고유 세션 식별자를 가져옵니다.

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

속성 값

세션 ID입니다.

예제

다음 코드 예제에서는 인터페이스의 SessionID 속성을 구현합니다 IHttpSessionState .

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

적용 대상

추가 정보