2016年5月9日
摘要: 在一个页面中写入: FormsAuthentication.SetAuthCookie(username, true); 在另一个页面中写入: string name = Page.User.Identity.Name; 获取不到值的原因: 在web.config中加入: <authenticati 阅读全文
posted @ 2016-05-09 16:53 FIGHTING360 阅读(1057) 评论(0) 推荐(0) 编辑