SessionSecurityToken.IsPersistent プロパティ

定義

このトークンによって表されるクッキーが永続的かどうかを示す値を取得または設定します。

public:
 property bool IsPersistent { bool get(); void set(bool value); };
public bool IsPersistent { get; set; }
member this.IsPersistent : bool with get, set
Public Property IsPersistent As Boolean

プロパティ値

クッキーが永続的である場合は true。それ以外の場合は false

注釈

プロパティが のIsPersistenttrue場合、Cookie は永続的な Cookie として書き込まれます。 永続的な Cookie は、有効期限が切れるまでブラウザーを閉じた後も有効なままです。

適用対象