摘要: Controller: //把登陆用户名存到cookies中 HttpCookie cook = new HttpCookie("cookusername", UserName.ToString()); Response.Cookies.Add(cook); View: <a href="#" cl 阅读全文