HttpSessionStateBase.IsNewSession 属性

定义

在派生类中重写时,获取一个值,该值指示在当前请求期间是否创建了会话。

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

属性值

true 如果在当前请求期间创建了会话,则为否则,为 false.

例外

适用于