FormsAuthentication.FormsCookieName Property
.NET Framework 3.0
Gets the name of the cookie used to store the forms-authentication ticket.
Namespace: System.Web.Security
Assembly: System.Web (in system.web.dll)
Assembly: System.Web (in system.web.dll)
'Declaration Public Shared ReadOnly Property FormsCookieName As String 'Usage Dim value As String value = FormsAuthentication.FormsCookieName
/** @property */ public static String get_FormsCookieName ()
public static function get FormsCookieName () : String
Not applicable.
Property Value
The name of the cookie used to store the forms-authentication ticket. The default is ".ASPXAUTH".The FormsCookieName property value is set in the configuration file for an ASP.NET application by using the name attribute of the forms configuration element. The FormsCookieName is used to reference the cookie that stores the FormsAuthenticationTicket information.
Community Additions
ADD
Show: