Export (0) Print
Expand All

WSFederationAuthenticationModule.PersistentCookiesOnPassiveRedirects Property

.NET Framework 4.5

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

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft