WSFederationAuthenticationModule.PersistentCookiesOnPassiveRedirects Property

.NET Framework (current version)

Gets or sets a value that specifies whether a persistent session cookie is issued on successful authentication.

Namespace:   System.IdentityModel.Services
Assembly:  System.IdentityModel.Services (in System.IdentityModel.Services.dll)

public bool PersistentCookiesOnPassiveRedirects { get; set; }

Property Value

Type: System.Boolean

true to issue a persistent session cookie; otherwise, false.

You can override this setting on each HTTP request by adding a handler for the SessionSecurityTokenCreated event. This event is raised from the request processing pipeline when processing a WS-Federation sign-in response message from a security token service (STS).

.NET Framework
Available since 4.5
Return to top