I have created Login/ Logout functionality using ASP.Net MVC 4. I used my own created form for authenticate users against Active Directory. It is working fine with the funct
Adding the following attribute to any ActionResult methods which return secure pages in your controller(s) should work:
ActionResult
public class MyControllerForAuthorizedStuff { [OutputCache(NoStore = true, Duration = 0, Location = OutputCacheLocation.None)] public ActionResult Index() { return View(); } }