Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

FormsAuthenticationTicket Constructor

Initializes a new instance of the FormsAuthenticationTicket class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  NameDescription
Public method FormsAuthenticationTicket(String, Boolean, Int32) Initializes a new instance of the FormsAuthenticationTicket class using a cookie name and expiration information.
Public method FormsAuthenticationTicket(Int32, String, DateTime, DateTime, Boolean, String) Initializes a new instance of the FormsAuthenticationTicket class with cookie name, version, expiration date, issue date, persistence, and user-specific data. The cookie path is set to the default value established in the application's configuration file.
Public method FormsAuthenticationTicket(Int32, String, DateTime, DateTime, Boolean, String, String) Initializes a new instance of the FormsAuthenticationTicket class with cookie name, version, directory path, issue date, expiration date, persistence, and user-defined data.
Top
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.