FormsAuthenticationTicket Constructor
.NET Framework (current version)
Initializes a new instance of the FormsAuthenticationTicket class.
Assembly: System.Web (in System.Web.dll)
| Name | Description | |
|---|---|---|
![]() | 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. |
![]() | 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. |
![]() | FormsAuthenticationTicket(String, Boolean, Int32) | Initializes a new instance of the FormsAuthenticationTicket class using a cookie name and expiration information. |
Show:
