System.Web.Security Namespace FormsAuthentication Class
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.
[ VB ] Overloads Public Shared Function GetAuthCookie ( _ userName As String, _ createPersistentCookie As Boolean _ ) As HttpCookie [ C# ] public static HttpCookie GetAuthCookie ( string userName, bool createPersistentCookie ); [ C++ ] public: static HttpCookie* GetAuthCookie ( String* userName, bool createPersistentCookie ); [ JScript ] public static function GetAuthCookie ( userName : String, createPersistentCookie : Boolean ) : HttpCookie;
Returns an HTTP cookie.
FormsAuthentication Members FormsAuthentication.GetAuthCookie Overload List
Check out related books at Amazon
© 2025 Reynald Nuñez and asp.net.ph. All rights reserved. If you have any question, comment or suggestion about this site, please send us a note