摘要: 1.登录的代码 1 [HttpPost] 2 public ActionResult Index(User entity) 3 { 4 User user = GetUser(entity.Name, entity.Password); 5 if (user != null) 6 { 7 FormsAuthenticationTicket authTicket = new FormsAuthenticationTicket( 8 ... 阅读全文
posted @ 2012-10-29 16:06 杨伟明 阅读(2883) 评论(1) 推荐(1) 编辑