Two ways "from the head":
1 - Custom Action Filter , which redirects the user from the page if they are logged in.
public class RedirectAuthenticatedRequests : ActionFilterAttribute { public override void OnActionExecuting(ActionExecutingContext filterContext) { if(filterContext.HttpContext.Request.IsAuthenticated) { filterContext.Result = new RedirectToRouteResult( new RouteValueDictionary(new { controller = "SomeController", action = "SomeAction" } )); } base.OnActionExecuting(filterContext); } }
2 - A simple check in the login action method if the user is logged in.
if(Request.IsAuthenticated) return RedirectToAction("SomeOtherView");
source share