Software and services at affordable prices

RichoSoft is a non-profit making site

Site documents

Newsletter - Sign up to my Newsletter

About  templates

New members area - free to join - exclusive content & offers

ReCaptcha for Classic ASP

First of all what is reCaptcha.

reCaptcha presents an image of two words to the person completing one of your web site forms, which they have to decipher and enter before the form can be successfully submitted.  This prevents spammers from automatically submitting your forms. The system to generate the random words and verify the user entered them correctly is FREE to use and register for at When you register you will receive 2 keys, a Public Key and a Private Key. These are required for your reCaptcha to work and protect the security of the system. But in order for you to use reCaptcha you will need to insert code into your pages. There are some application and program plug-ins available at . For Classic ASP 3.0 RichoSoft has developed some coding to make it easy for you to implement on your Windows Server with ASP.  We have put this into 2 main ASP pages and a support page, which will work immediately you upload the pages to your website and entered the Public and Private Keys. You can see a demonstration of this in action on our Windows server here.  

The 3 pages you will need are : recaptcha1.asp, recaptcha2.asp and keyvals.asp.

You will need to get your public and private keys from   and edit the keyvals.asp file to enter your keys. (see sample below).

Then simply upload all 3 files to your web site in a sub-directory if you wish and browse to, and test it. You can then modify the form to customise it to your requirements and change the response page (recapture2.asp ) to handle the form submissions in the manner you need. All pages contain markups of what each group of code does, to guide you through any changes you wish to make.



<!--- Sample ASP 3.0 scripts to integrate reCaptcha from into form submission.-->

<!--- Created by RichoSoft  - 2009 - -->

<!--You need three pages:--->

<!---recaptcha1.asp (to generate the reCaptcha image on the form) --->

<!---recaptcha2.asp (to validate the reCaptcha and process the form) --->

<!---keyvals.asp (to enter your public and private keys into the forms ) --->

<!---You are free to modify these pages as required to fit into your site(s) - but requested to leave the references to RichoSoft in tact--->

<!-- It would also be nice if you could put a link to RichoSoft on your web site--->

Dim publickey,privatekey

<!--This is where you enter your Private and Public Keys supplied by reCaptcha-->

publickey="Enter your Public Key Here"

privatekey="Enter your Private Key Here"


RichoSoft supplies this code as-is and makes no guarantees that it will work correctly on your server, it is your responsibility to check that your server is capable of running Classic ASP 3.0 code. RichoSoft will accept no responsibility whatsoever for any damage in whatever form caused by the code or modifications to the code by any other persons. By clicking the Download button you are accepting these terms.

reCaptcha for PHP here reCaptcha for PHP here Download Free Pack 4Kb Zip