MVC中 关于退出按钮的写法

public ActionResult Logoff()

{

         Session.Abandon();

         Session.Clear();

         FormsAuthentication.SignOut();

         return ReditectToAction("LonOn","Account");

}

原文地址:https://www.cnblogs.com/yingger/p/3442172.html