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
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om