-
dimrefreshintervaltime
RefreshInterValTime = 3 'ป้องกันไม่ให้มีการรีเฟรชวินาทีเวลา 0 หมายถึงการไม่ป้องกัน
ifnotisEmpty (เซสชั่น ("เยี่ยมชม")) Andisnumeric (เซสชัน ("เยี่ยมชม")) Andint (RefreshIntervaltime)> 0 แล้ว
if (timer ()-int (เซสชัน ("เยี่ยมชม"))*1000 <RefreshIntervaltime*1000 จากนั้น
Response.write ("<metahttp-equiv =" "Refresh" "content =" "& RefreshIntervaltime &" "" "/>")
Response.write ("รีเฟรชเร็วเกินไปโปรดรอ")
เซสชัน ("เยี่ยมชม") = ตัวจับเวลา ()
Response.end
endif
endif
เซสชัน ("เยี่ยมชม") = ตัวจับเวลา ()
%> <! doctypehtmlpublic "-// w3c // dtdhtml4.01transitional // en">
<html>
<head>
<title> แอสฟาวเพื่อป้องกันการรีเฟรชเว็บเพจ www.zhangpeng.com.cn </tite> บ่อยครั้ง
<metahttp-equiv = "content-type" content = "text/html; charset = gb2312">>
<linkrel = "stylesheet" type = "text/css" href = "style.css">
<styleType = "text/css">
</style>
</head>
<bodystyle = "พื้นหลังสี:#666666; Font-Size: 36pt; Font-Family: Bold; Color: #FFFFF;">
Asphow เพื่อป้องกันการรีเฟรชหน้าเว็บบ่อยครั้ง - www.zhangpeng.com.cn
</body>
</html>