HttpSessionState.IsNewSession 属性

定义

获取一个值,该值指示会话是否是与当前请求一起创建的。

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

属性值

Boolean

如果会话是与当前请求一起创建的,则为 true;否则,为 false

适用于

另请参阅