ShuDudu's Home was started in 2011, but the web data is lost, so now begin again, I would like to make some friends, I hope you like ShuDudu's home.
Current position: ShuDudu > Life >

[ASP Code]��Three Prevention�� Equipment for Station Building

Friday on December 23rd, 2005Life

now spam is flying all over the sky, there are always some people who have nothing to do, recommend a set of three defense equipment, anti-garbage, anti-irrigation, anti-robot.

for one thing, add a CAPTCHA to the submission page. There are a lot of CAPTCHA on the Internet. For the generation of CAPTCHA, please see: http://www.design2u.net/home/index.php?action=show&id=23

second, prevent refreshing water, prevent those who have nothing to refresh, code:

 & lt;%lock\ _ time=60 'set the number of intervals (in seconds)If session (& quot;idvip\ _ re") & lt;>"" thenIf DateDiff (& quot;s",session (& quot;idvip\ _ re"), Now () & lt;lock\ _ time ThenResponse.write & quot;

Copyright Protection: ShuDudu from the original article, reproduced Please keep the link: https://www.shududu.com/life/ASP-Code-Three-Prevention-Equipment-for-Station-Building.htm