摘要:
FormsAuthenticationTicket ticket = new FormsAuthenticationTicket( 1, "ticketName", DateTime.Now, DateTime.Now.AddMinutes(60), false, "{UserNAme:'sanmao'}" ); string token = FormsAuthentication.Encrypt(ticket); HttpCookie userCookie = new HttpCookie(FormsAuthentication.For 阅读全文
posted @ 2012-05-18 16:53
万德源
阅读(390)
评论(0)
推荐(0)
浙公网安备 33010602011771号