다음을 통해 공유


CookieHandlerElement.PersistentSessionLifetime 속성

정의

처리기에서 발급한 쿠키의 수명을 가져오거나 설정합니다.

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

속성 값

쿠키 수명을 나타내는 TimeSpan입니다. 기본값은 0 일 ("0.0:0:0")입니다. 값 0 ("0.0:0:0")에서 365 ("365.0:0:0") 일 사이의 값 이어야 합니다.

특성

설명

persistentSessionLifetimecookieHandler> 요소의< 특성을 나타냅니다.

적용 대상

추가 정보