LocalClientSecuritySettings.MaxCookieCachingTime 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 caching time for secure conversation cookies.
public:
property TimeSpan MaxCookieCachingTime { TimeSpan get(); void set(TimeSpan value); };
public TimeSpan MaxCookieCachingTime { get; set; }
member this.MaxCookieCachingTime : TimeSpan with get, set
Public Property MaxCookieCachingTime As TimeSpan
Property Value
A TimeSpan that represents the maximum caching time for secure conversation cookies. The default is 10675199 days.
Exceptions
The property is set
to a value less than 0.
Examples
This example shows how to get the MaxCookieCachingTime value.
TimeSpan maxCookieCachingTime = settings.MaxCookieCachingTime;
Dim maxCookieCachingTime As TimeSpan = settings.MaxCookieCachingTime
Applies to
التعاون معنا على GitHub
يمكن العثور على مصدر هذا المحتوى على GitHub حيث يمكنك أيضاً إضافة مشاكل وطلبات سحب ومراجعتها. للحصول على معلومات إضافية، اطلع على دليل المساهم لدينا.