public ActionResult Login(string code) { if (SharedSupport.MD5Encrypt(code) == "vp??f?????") { Session["admin"] = true; return(RedirectToAction("ModList")); } TempData["error"] = "Invalid code entered!"; return(RedirectToAction("Login")); }