FederationConfiguration.CookieHandler Property

.NET Framework (current version)
 
System_CAPS_noteNote

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

Gets or sets the cookie handler to be used by the Session Authentication Module (SessionAuthenticationModule).

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

public CookieHandler CookieHandler { get; set; }

Property Value

Type: System.IdentityModel.Services.CookieHandler

The cookie handler to be used by the Session Authentication Module (SAM).

Exception Condition
ArgumentNullException

An attempt to set the property to null occurs.

Specifies the cookie handler that is used to read and write session cookies by the SAM.

When initialized from a configuration file, this property is set by the <cookieHandler> element.

.NET Framework
Available since 4.5
Return to top
Show: