加入收藏 | 设为首页 | 会员中心 | 我要投稿 我爱制作网_池州站长网 (https://www.0566zz.com/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 站长学院 > MySql教程 > 正文

如何终止浏览器的Cahce页面?

发布时间:2016-11-29 17:28:57 所属栏目:MySql教程 来源:站长网
导读:如何终止浏览器的Cahce页面? nbsp; Function Redirect( NewURL ) If Not IsEmpty( NewURL "" ) Then Dim QuestionMark QuestionMark = Instr( NewURL, "?" ) If QuestionMark = 0 Then Response.Redirect NewURL "?" NoCacheURL() Response.End Else Resp

如何终止浏览器的Cahce页面?

nbsp;

Function Redirect( NewURL )

If Not IsEmpty( NewURL "" ) Then

Dim QuestionMark

QuestionMark = Instr( NewURL, "?" )

If QuestionMark = 0 Then

Response.Redirect NewURL "?" NoCacheURL()

Response.End

Else

Response.Redirect NEWURL "" NoCacheURL()

Response.End

End If

End If

nbsp;

Function NoCacheURL()

On Error Resume Next

Randomize

NoCacheURL = "NoCache=" Server.URLEncode(rnd)

nbsp;

End Function

(编辑:我爱制作网_池州站长网)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!