| |||||
FormsAuthentication.GetAuthCookie Method ( String, Boolean, String )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; Parameters
Return ValueReturns an HTTP cookie. See AlsoFormsAuthentication Members FormsAuthentication.GetAuthCookie Overload List |
| ||||
Check out related books at Amazon
© 2000-2008 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 aspxtreme