首页 >> 网页技术 > asp技术 >> 详细内容
网页技术
 
asp技术 >> 正文
一分钟后才可再次提代码
日期:2017/6/15 
if session("postTime")<>"" and minute(NOW() - session("postTime")) < 1  then
session("postTime")=NOW()
errinfo="<li>您的提交时间间隔过短,请一分钟后再次提交。</li>"
call showError() '//////// 此处是为了防止恶意的重复提交
else
session("postTime")=NOW()
end if