亲宝软件园·资讯

展开

怎样终止浏览器的Cahce页面?

人气:0
想了解怎样终止浏览器的Cahce页面?的相关内容吗,在本文为您仔细讲解的相关知识和一些Code实例,欢迎阅读和指正,我们先划重点:怎样何终终止止浏浏览览器器的的CCaahhccee页页面面??,下面大家一起来学习吧。

如何终止浏览器的Cahce页面?<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

 

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

 

Function NoCacheURL()

On Error Resume Next

Randomize

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

 

End Function

加载全部内容

相关教程
猜你喜欢
用户评论