FormsAuthentication.SetAuthCookie(person.LoginName,false);. 不足以填充"HttpContext.Current.User",它需要运行以下方法: FormsAuthentication.
確定! 回上一頁