摘要:
用session 相对cookies而言安全点,但是回存在失效为题这里介绍下cookies的简单用法 //声明、写入cookies HttpCookie cookie = new HttpCookie("UserName"); cookie.Value = name; if (Convert.ToInt32(this.ddlDate.SelectedValue) <31) { cookie.Expires = DateTime.Today.AddDays(Co... 阅读全文
posted @ 2011-12-27 15:59
日月当空
阅读(2112)
评论(0)
推荐(0)