2022-09-06から1日間の記事一覧

FormsAuthentication.RedirectToLoginPage

web.configのloginUrlにログインページ(authdir2/login.aspx)を指定してるので、FormsAuthentication.SignOut後に、FormsAuthentication.RedirectToLoginPageを呼べば、そのログインページにリダイレクトしてくれる。FormsAuthentication.RedirectToLoginPag…