System.Web.Security Namespace FormsAuthenticationTicket Class
Gets the date/time at which the cookie expires.
[ VB ]
Public ReadOnly Property Expiration As DateTime
[ C# ]
Public DateTime Expiration {get;}
[ C++ ]
public: __property DateTime get_Expiration ( );
[ JScript ]
public Serializable
function get Expiration ( ) : DateTime;
The date/time at which the cookie expires.
For durable cookies, this should be the maximum value. For session-scoped cookies, this should be set to the time the cookie was issued. This can be used by custom application logic to implement more-advanced expiration semantics.
FormsAuthenticationTicket Members