摘要:
if(Session["admin"]!=null){Session.Remove("admin");Session.RemoveAll();Response.Cookies["admin"].Expires=DateTime.Now;//从当前时间开始过期Response.Redirect("login.html");} 阅读全文
posted @ 2009-12-08 17:07
铞迩锒铛
阅读(549)
评论(0)
推荐(0)
摘要:
1.在web.config中<system.web>节点下添加一句配置:<globalizationrequestEncoding="gb2312"responseEncoding="gb2312"fileEncoding="gb2312"culture="zh-CN"/>节点属性解释:requestEncoding:指定每一传入请求的假定的编码,包括已传递的数据和查询字符... 阅读全文
posted @ 2009-12-08 17:06
铞迩锒铛
阅读(2757)
评论(0)
推荐(0)

浙公网安备 33010602011771号