随笔分类 -  Linq

防止同一用户同时登陆
摘要:protected void btn_OK_Click(object sender, EventArgs e) {//登录 String code = CodeTest.Code; if (!this.code.Text.Trim().Equals(code)) { Response.Write("<script>alert('验证码错误!');</script>"); r... 阅读全文
posted @ 2010-08-05 13:05 酷&酷 阅读(335) 评论(0) 推荐(0)
提搞网站访问速度可做哪些优化
摘要:一、 服务器优化l Windows系列:64位Win2008r2 + Hpyer-V + 负载均衡 + IIS7.564位Win2003 + 虚拟机 + 负载均衡 + IIS6禁止服务器访问外网。关掉不必要的端口。去掉每个磁盘的所有权限,只保留administrators组和system完全控制权限。IIS7.5标识使用ApplicationPoolIdentity,给目录权限用户是:IIS Ap... 阅读全文
posted @ 2010-08-05 13:03 酷&酷 阅读(649) 评论(1) 推荐(0)