public ActionResult Emulate(string id /* Login ID*/)
{
if (!string.IsNullOrEmpty(id))
{
FormsAuthentication.RedirectFromLoginPage(id, false);
}
else
{
return Content("Login ID not provided. Use /Emulate/login");
}
return RedirectToAction("Index", "Home");
}