LocalServiceSecuritySettings.IssuedCookieLifetime 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 lifetime for the SecurityContextSecurityToken that the service issues for the client.
public:
property TimeSpan IssuedCookieLifetime { TimeSpan get(); void set(TimeSpan value); };
public TimeSpan IssuedCookieLifetime { get; set; }
member this.IssuedCookieLifetime : TimeSpan with get, set
Public Property IssuedCookieLifetime As TimeSpan
Property Value
A TimeSpan that represents the lifetime for new security cookies. The default is 10 hours.
Exceptions
The property is set to a value less than 0.
Examples
This example shows how to get the IssuedCookieLifetime
value.
TimeSpan issuedCookieLifetime = settings.IssuedCookieLifetime;
Dim issuedCookieLifetime As TimeSpan = settings.IssuedCookieLifetime
Remarks
When the service issues secure conversation cookie tokens to the client, their validity period is determined by the value of this property.