[HttpPost] public ActionResult Home(LoginUser lu) { return Redirect("http://localhost:51410/SessionWebFrom/Login.aspx"); }
You can redirect to anywhere from MVC action and you have to use RedirectResult for that. RedirectResult is a type of ActionResult.
For ex.
public RedirectResult RedirectToAspx() { return Redirect("/pages/index.aspx"); }
Hope it helps :)
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)