Click here to Skip to main content
14,211,379 members
Rate this:
Please Sign up or sign in to vote.
See more: , +
I need help to implement the answer Google Recaptcha 2.0.

I've tried a few ways to recover the response after sending the form but not consigui get the answer True.

Follows the example I'm trying:

     <script src="" async defer></script>
    <form action="teste.asp" method="POST">
      <div class="g-recaptcha" data-sitekey="6LeDCAgTAAAAAAq4tf6729Tb7WlJivOQrazBgTBs"></div>
      <input type="submit" value="Submit">


        Dim recaptcha_secret, sendstring, objXML
        recaptcha_secret = "6LeDCAgTAAAAAAq4tf6729Tb7WlJivOQrazBgTBs"

        sendstring = "" & recaptcha_secret & "&response=" & Request.form("g-recaptcha-response")

        Set objXML = Server.CreateObject("MSXML2.ServerXMLHTTP")
        objXML.Open "GET", sendstring, False


        Response.write "<h3>Response: " & objXML.responseText & "</h3>"

        Set objXML = Nothing

How do I implement a way to check that Recaptcha were marked?

Thanks for yout attention!
Updated 27-Mar-16 9:39am
Afzaal Ahmad Zeeshan 15-Jun-15 15:15pm
Just asking, Classic ASP, Google Recaptcha 2, and language being Visual Basic. You are hardly going to find any solution. Perhaps, you would (at the end) have to write your own solution. Most of the developers (counting me on top) don't even have the idea of how Classic ASP is written, and then Visual Basic is another factor. I wonder if Google supports the API after all of the changes being made in web technologies. Sorry!

1 solution

Rate this:
Please Sign up or sign in to vote.

Solution 1

I could never get any of the Google Captcha's to work. I finally found this site and it was a snap to implement.
Classic ASP (VBScript) and ASP.NET (VB.NET) Security Image (CAPTCHA) Generator[^]

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Advertise | Privacy | Cookies | Terms of Service
Web01 | 2.8.190619.1 | Last Updated 27 Mar 2016
Copyright © CodeProject, 1999-2019
All Rights Reserved.
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100