response.expires=-1啥意思

来源:学生作业帮助网 编辑:作业帮 时间:2024/04/29 04:53:46
response.expires=-1啥意思

response.expires=-1啥意思
response.expires=-1啥意思

response.expires=-1啥意思
一般情况下,当用户请求WEB服务器时,服务器把请求回复给客户端.在客户端,浏览器把缓存作为一种加快速度的策略,就是当请求时先检查缓存的情况,如果有就直接调缓存了,而不请求服务器了.
在WEB程序设计中,有时为了防止重复的提交或者严格的次序等,必须让用户的数据立即在使用后就过期,当用户后退时就显示过期而不能继续使用.也算是为安全考虑的吧.
一般,response.expires写在页面的最上端,后面跟的是一个时间,就是过期的时间,0表示立即过期.
-1也是一样的道理.即是-9999也是一样的

response.expires=-1啥意思 response.expires = -1是什么意思response.expires = 0 不就是立即过期吗? 这里-1有什么其它作用? asp这段代码什么意思Response.Expires = 0 Response.Expiresabsolute = Now() - 1 Response.AddHeader pragma,no-cache Response.AddHeader cache-control,private Response.CacheControl = no-cache 没看明白主要是Now()-1 Session.Timeout应该写在哪里?怎么写?最小应该是多少?Response.Cookies (user).expires=dateadd(d,1,date()) response.addDateHeader(expires, 0); 是 什么意思啊,求教response.addDateHeader(expires, 0); 是 什么意思啊 Expires是什么意思? Response.Redirect(result.aspx?BInt= + tNUM.ToString());啥意思 Response.Write(window.close();location='javascript:history.go(-1)'; response.buffer=true | response.buffer=?|是什么? int result = DbHelperSQL.ExecuteSql(sql); if (result == 1){ Response.ContentType = text/plain;Response.Write({success:true});}{ elseResponse.ContentType = text/plain;Response.Write({success:false}); } patent expires是什么意思 EXPIRES IN 20 1、请说出response.send Redirect(response.encode LIRL(ABC));与response.send Redirect(ABC)的区别. response=react=reaction吗? Response.Redirect(QuestionWeb.aspx?Qid= + id); 英语翻译Response.Redirect error.aspResponse.Endend ifif request.Cookies(useruv)(num) = thenresponse.Cookies(useruv)(num) = 1elseresponse.Cookies(useruv)(num) = request.Cookies(useruv)(num) + 1end ifresponse.Cookies(useruv)( for i = 1 to 10 response.write i& nextfor i = 1 to 10response.write i&next结果是123...10可是我想要1098...21这样的结果.应该怎么写 if not rs.EOF if not rs.EOF then response.write alert('对不起,用户名已经被人注册');history.back(-1) else response.write 注册成功response.end end ifRs.addnewRs(user)=ars(password)=brs.updateresponse.write 写入成功%>