GetAuthCookie Method

FormsAuthentication.GetAuthCookie Method

 

Creates an authentication cookie for a given user name.

Namespace:   System.Web.Security
Assembly:  System.Web (in System.Web.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticGetAuthCookie(String, Boolean)

Creates an authentication cookie for a given user name. This does not set the cookie as part of the outgoing response, so that an application can have more control over how the cookie is issued.

System_CAPS_pubmethodSystem_CAPS_staticGetAuthCookie(String, Boolean, String)

Creates an authentication cookie for a given user name. This does not set the cookie as part of the outgoing response.

Return to top
Show:
© 2016 Microsoft