摘要:
自己的代码,很乱给自己看 FormsAuthenticationTicket ticket = new FormsAuthenticationTicket(1, "username", DateTime.Now, DateTime.Now.AddDays(365), true, string.Format("{0}:{1}", "username", "password"), FormsAuthentication.FormsCookiePath); //这边的 string.Format("{0}:{1 阅读全文
posted @ 2013-11-17 03:29 billpeng 阅读(4731) 评论(0) 推荐(0) 编辑