다음을 통해 공유


IHttpSessionState.IsNewSession 속성

정의

현재 요청으로 세션이 만들어졌는지 여부를 나타내는 값을 가져옵니다.

public:
 property bool IsNewSession { bool get(); };
public bool IsNewSession { get; }
member this.IsNewSession : bool
Public ReadOnly Property IsNewSession As Boolean

속성 값

세션이 현재 요청으로 만들어졌으면 이고, 그렇지 않으면 .

예제

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

public bool IsNewSession
{
  get { return pNewSession; }
}
Public ReadOnly Property IsNewSession As Boolean Implements IHttpSessionState.IsNewSession
  Get
    Return pNewSession
  End Get
End Property

적용 대상

추가 정보