<%
Sub chkreflash()
dim ScriptName
ScriptName=lcase(request.ServerVariables("PATH_INFO"))
dim posttime,DoReflashPage,ReflashPage,SplitReflashPage
posttime= '防止重新整理時間
DoReflashPage=false
ReflashPage="|Article_one.asp"
SplitReflashPage=split(ReflashPage,"|")
for i= to ubound(SplitReflashPage)
if instr(scriptname,SplitReflashPage(i))> then
DoReflashPage=true
exit for
end if
next
if (not isnull(session("ReflashTime"))) and posttime> and DoReflashPage then
if DateDiff("s",session("ReflashTime"),Now())<posttime then
response.Redirect(syurl)
else
session("ReflashTime")=Now()
end if
elseif isnull(session("ReflashTime")) and posttime> and DoReflashPage then
Session("ReflashTime")=Now()
end if
End Sub
%>