01 2015 档案

文件上传
摘要:enctype="multipart/form-data" 改变请求报文的报文格式if (context.Request.Files.Count > 0) { HttpPostedFile file = c... 阅读全文

posted @ 2015-01-30 22:49 木屐 阅读(107) 评论(0) 推荐(0)

application用法
摘要:void Application_Start(object sender, EventArgs e) { Application.Lock(); Application["count"] = 0; Application.UnLock(); }... 阅读全文

posted @ 2015-01-26 14:43 木屐 阅读(211) 评论(0) 推荐(0)

读写cookie
摘要:写cookie HttpCookie hc = new HttpCookie("username", "xxxx"); hc.Expires = DateTime.Now.AddDays(2); context.Response.Cookies.Add(hc... 阅读全文

posted @ 2015-01-25 17:34 木屐 阅读(89) 评论(0) 推荐(0)

导航