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, _ strCookiePath As String _ ) As HttpCookie [ C# ] public static HttpCookie GetAuthCookie ( string userName, bool createPersistentCookie, string strCookiePath ); [ C++ ] public: static HttpCookie* GetAuthCookie ( String* userName, bool createPersistentCookie, String* strCookiePath ); [ JScript ] public static function GetAuthCookie ( userName : String, createPersistentCookie : Boolean, strCookiePath : String ) : HttpCookie;
Returns an HTTP cookie.
FormsAuthentication Members FormsAuthentication.GetAuthCookie Overload List
© 2000-2010 Rey Nuñez All rights reserved.If you have any question, comment or suggestion about this site, please send us a note
You can help support asp.net.ph