摘要:
protected void Page_Load(object sender, EventArgs e) { //打开登录页面时获取客户端cookie值并写入前台控件中 HttpCookie cookie = Request.Cookies["name"]; if (cookie == null) ... 阅读全文
posted @ 2010-12-16 17:05 Sky_KWolf 阅读(1484) 评论(1) 推荐(0) 编辑
|
|||
摘要:
protected void Page_Load(object sender, EventArgs e) { //打开登录页面时获取客户端cookie值并写入前台控件中 HttpCookie cookie = Request.Cookies["name"]; if (cookie == null) ... 阅读全文
posted @ 2010-12-16 17:05 Sky_KWolf 阅读(1484) 评论(1) 推荐(0) 编辑
摘要:
//方法一: //须添加对System.Web的引用 using System.Web.Security; /// /// SHA1加密字符串 /// /// 源字符串 /// 加密后的字符串 public string SHA1(string sour... 阅读全文
posted @ 2010-12-16 16:42 Sky_KWolf 阅读(358) 评论(0) 推荐(0) 编辑 |
|||