LocalServiceSecuritySettings.MaxCachedCookies Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the maximum number of SecurityContextSecurityTokens that the service allows to cache at once.
public:
property int MaxCachedCookies { int get(); void set(int value); };
public int MaxCachedCookies { get; set; }
member this.MaxCachedCookies : int with get, set
Public Property MaxCachedCookies As Integer
Property Value
The maximum number of secure conversation cookies that can be cached by the service. When this limit is reached the service removes the oldest cached secure conversation cookies to make room for new secure conversation cookies. The default is 1000.
Exceptions
The property is set to a value less than 0.
Examples
This example shows how to get the MaxCachedCookies
value.
int maxCachedCookies = settings.MaxCachedCookies;
Dim maxCachedCookies = settings.MaxCachedCookies