js实现动态CSS换肤技术的脚本
0) {offset = document.cookie.indexOf(search);if (offset != -1) {offset += search.length;end = document.cookie.indexOf(";", offset);if (end == -1)end
0) {offset = document.cookie.indexOf(search);if (offset != -1) {offset += search.length;end = document.cookie.indexOf(";", offset);if (end == -1)end
采用AJAX技术的时候 通常我们无刷新页面提交数据后 用同样的url去获取数据的时候会发现是以前的数据~那样就给client端带来假象了~~ 采用以下的方法可以取消缓存htm网页或者asp网页response.expires=-1response.expiresabsolute=now()-1res
Asp文件:Code.Asp 数据文件:body.Fix , Head.Fix 用法: 实现代码如下:Response.buffer = true NumCode Function NumCode() Response.Expires = -1 Response.AddHeader "Pragma"