摘要: context.Response.End();将当前所有缓冲的输出发送到客户端,停止该页的执行,并引发System.Web.HttpApplication.EndRequest事件。 使用context.Response.End(); 会引发“System.Threading.ThreadAbort 阅读全文
posted @ 2020-09-23 18:47 来瓶冰镇可乐吧 阅读(1020) 评论(0) 推荐(0)
摘要: 添加Cache 1 HttpRuntime.Cache.Add(CacheKey, pathList, null, DateTime.Now.AddMinutes(10), TimeSpan.Zero, System.Web.Caching.CacheItemPriority.Default, nu 阅读全文
posted @ 2020-09-23 18:22 来瓶冰镇可乐吧 阅读(161) 评论(0) 推荐(0)
摘要: 1 function guid() { 2 return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) { 3 var r = Math.random() * 16 | 0, 4 v = c == 'x' ? 阅读全文
posted @ 2020-09-23 18:13 来瓶冰镇可乐吧 阅读(131) 评论(0) 推荐(0)