Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Action filter execution order
- filters.Add(new FirstAuthorizeAttribute() { Order = 0 });
- [HttpGet]
- [SecondAuthorize]
- public ActionResult LogOut()
- {
- FormsAuthentication.SignOut();
- Session.Clear();
- Session.Abandon();
- return Redirect(Url.Content("~/"));
- }
Add Comment
Please, Sign In to add comment