System.Web.Security.FormsAuthentication.GetAuthCookie C# (CSharp) Method

GetAuthCookie() public static method

public static GetAuthCookie ( string userName, bool createPersistentCookie ) : System.Web.HttpCookie
userName string
createPersistentCookie bool
return System.Web.HttpCookie
		public static HttpCookie GetAuthCookie (string userName, bool createPersistentCookie)
		{
			return GetAuthCookie (userName, createPersistentCookie, null);
		}

Same methods

FormsAuthentication::GetAuthCookie ( string userName, bool createPersistentCookie, string strCookiePath ) : System.Web.HttpCookie