다음을 통해 공유


IHttpCookie.MaxAge Property

Definition

Gets or sets the number of seconds until the cookie expires. A zero or negative number will expire the cookie immediately.

public double? MaxAge { get; }
member this.MaxAge : Nullable<double>
Public ReadOnly Property MaxAge As Nullable(Of Double)

Property Value

Applies to