SessionAuthenticationModule.CookieHandler Property

.NET Framework (current version)

The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets the cookie handler that is used to read, write, and delete session cookies.

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

public CookieHandler CookieHandler { get; set; }

Property Value

Type: System.IdentityModel.Services.CookieHandler

The cookie handler.

The CookieHandler property is initialized by the InitializePropertiesFromConfiguration method. This method initializes the property based on the cookie handler specified on the FederationConfiguration object that is set on the FederatedAuthentication.FederationConfiguration property. You can set the cookie handler in a configuration file through the <cookieHandler> element.

.NET Framework
Available since 4.5
Return to top