No Captcha ReCaptcha 2.0 with ASP Classic is easy to set up and use with this code to stop bots and minimize spammers.
Google's new No Captcha ReCaptcha 2.0 with ASP Classic integration will allow everyone running ASP Classic on their websites to add this new tool to their arsenal to help combat bots and slow down spammers.
Shahid Shaikh from codeforgeek.com« (Article is no longer available.)
His response got me pointed in the right direction.
Live Lessons Example - ASP Classic No Captcha ReCaptcha 2.0
The AJAX script used in the original example is no longer functional in newer browsers.
We switched to a jQuery method, which works beautifully!
First, we need to add the JS to our head tag.
[API.js]
CFFCS | CarrzSynEdit: | JS (JavaScript)
<script src='https://www.google.com/recaptcha/api.js'></script>

Next, we add our form.
[Form.asp]
CFFCS | CarrzSynEdit: | HTML (Hyper Text Markup Language)
<form class="form-3 pics Setwidth" name="ContactForm" action="3.asp" method="post" onsubmit="xmlhttpPost('3.asp', 'ContactForm', 'Contactdiv', '<img src=\'graph/pleasewait.gif\'>'); return false;">
<label>Name</label>
<input type="text" name="name" />
<div class="g-recaptcha" data-sitekey="YOUR-SITEKEY-GOES-HERE"></div>
<input type="Submit" name="Submit" value="Send Message"  style="width:150px;"/></div>
</form><div id="Contactdiv></div>

You will need the new reCAPTCHA 2.0 Site Key.
Go here: https://www.google.com/recaptcha/admin«.
Add a new Site Key for your website.
For local testing, you will have to test with
127.0.0.1/site.asp
It will not work with a static IP Address or with localhost anymore.
Next, we add our code to the processing page.
[3.asp]
CFFCS | CarrzSynEdit: | ASP/VBScript
<%
strname = request.Form("name")
captcha = request.Form("g-recaptcha-response")
if strname = "" then
response.Write "Please provide your name."
'Next, we are going to challenge the reCAPTCHA, to make sure that it is not blank, 

'and there is NO way around this. If it is not blank, then we send them a message.

elseif captcha="" then
 response.Write "You have not completed the <strong>reCAPTCHA</strong>. Please click the blank box and enter the sequence of characters. Thank You"
else ' If the user has completed the reCAPTCHA, we send a message letting them know.

response.Write "Thank you for trying out the 
<strong>ASP Classic / Jquery reCAPTCHA 2.0</strong> demo."
end if
%>

Other Articles Related to this Entry.