action重新跳转其它路由

 public ActionResult SignOut()
        {
            //************退出登陆***************//        
            Session["manager_id"] = null;
            var managerCookie = Request.Cookies["manager_id"];
            if (managerCookie != null)
            {
                managerCookie.Expires = DateTime.Now.AddDays(-1);
                Response.Cookies.Set(managerCookie);
            }
            //Response.Redirect("/m/mlogin");
            return RedirectToAction("index", "YuanLogin");
        }


~_~一个程序员的淘宝店: 点击打开链接

你可能感兴趣的:(action重新跳转其它路由)