Edit

Share via


SessionSecurityToken.IsPersistent Property

Definition

Gets or sets a value that indicates whether the cookie represented by this token is persistent.

public bool IsPersistent { get; set; }

Property Value

true if the cookie is persistent; otherwise, false.

Remarks

If the IsPersistent property is true, the cookie is written as a persistent cookie. Persistent cookies remain valid after the browser is closed until they expire.

Applies to

Product Versions
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1