* 認証 [#g5e1162c]
*** ログイン [#b833dd67]
FormsAuthentication.SetAuthCookie(user.Login_name, false);
*** ログアウト [#n65ca53a]
FormsAuthentication.SignOut();
- http://stackoverflow.com/questions/1813705/httpcontext-user-or-page-user-in-a-view
- http://stackoverflow.com/questions/8933729/why-the-method-isinrole-not-working-custom-roleprovider-asp-net-mvc
- http://stackoverflow.com/questions/5476059/handling-multiple-roles-in-mvc-action-based-accessibility/5476355#5476355
- http://stackoverflow.com/questions/12495785/identify-controller-and-action-from-returnurl-asp-net-mvc
- http://stackoverflow.com/questions/2166986/page-user-missing-in-asp-net-mvc