LocalServiceSecuritySettings.IssuedCookieLifetime Property


Gets or sets the lifetime for the SecurityContextSecurityToken that the service issues for the client.

 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.


The property is set to a value less than 0.


This example shows how to get the IssuedCookieLifetime value.

TimeSpan issuedCookieLifetime = settings.IssuedCookieLifetime;
Dim issuedCookieLifetime As TimeSpan = settings.IssuedCookieLifetime


When the service issues secure conversation cookie tokens to the client, their validity period is determined by the value of this property.

Applies to