Aracılığıyla paylaş


CookieHandlerElement.PersistentSessionLifetime Özellik

Tanım

İşleyici tarafından verilen tanımlama bilgilerinin ömrünü alır veya ayarlar.

public:
 property TimeSpan PersistentSessionLifetime { TimeSpan get(); void set(TimeSpan value); };
[System.Configuration.ConfigurationProperty("persistentSessionLifetime", DefaultValue="0:0:0", IsRequired=false)]
[System.Configuration.TimeSpanValidator(MaxValueString="365.0:0:0", MinValueString="0:0:0")]
public TimeSpan PersistentSessionLifetime { get; set; }
[<System.Configuration.ConfigurationProperty("persistentSessionLifetime", DefaultValue="0:0:0", IsRequired=false)>]
[<System.Configuration.TimeSpanValidator(MaxValueString="365.0:0:0", MinValueString="0:0:0")>]
member this.PersistentSessionLifetime : TimeSpan with get, set
Public Property PersistentSessionLifetime As TimeSpan

Özellik Değeri

TimeSpan Tanımlama bilgisi ömrünü temsil eden bir. Varsayılan değer 0 gündür ("0.0:0:0"). Değer 0 ("0.0:0:0") ile 365 ("365.0:0:0") gün arasında bir değer olmalıdır.

Öznitelikler

Açıklamalar

persistentSessionLifetimecookieHandler öğesinin< özniteliğini temsil eder>.

Şunlara uygulanır

Ayrıca bkz.