<%
if session("LastRequestDate")<>"" and session("LastRequestTime")<>"" then if session("LastRequestDate")=date() then if timer()-session("LastRequestTime")<0.1 then response.write "请求过于频繁,请稍候再试!" response.end end if else if (24*3600-0.01)-session("LastRequestTime")+timer()<0.1 then response.write "请求过于频繁,请稍候再试!" response.end end if end if
end if
session("LastRequestDate")=date()
session("LastRequestTime")=timer()
%>