HttpSessionState.IsNewSession 属性

定义

获取一个值,该值指示会话是否是与当前请求一起创建的。Gets a value indicating whether the session was created with the current request.

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

属性值

如果会话是与当前请求一起创建的,则为 true;否则,为 falsetrue if the session was created with the current request; otherwise, false.

适用于

另请参阅