Guest User

Untitled

a guest
Aug 18th, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. Action filter execution order
  2. filters.Add(new FirstAuthorizeAttribute() { Order = 0 });
  3.  
  4. [HttpGet]
  5. [SecondAuthorize]
  6. public ActionResult LogOut()
  7. {
  8. FormsAuthentication.SignOut();
  9. Session.Clear();
  10. Session.Abandon();
  11. return Redirect(Url.Content("~/"));
  12. }
Add Comment
Please, Sign In to add comment