asp.net.ph

FormsAuthenticationTicket.Expiration Property

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;

Property Value

The date/time at which the cookie expires.

Remarks

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.

See Also

FormsAuthenticationTicket Members Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph