PDA

View Full Version : reCAPTCHA


Americo
08-25-2010, 03:48 PM
Not sure if I'm using classic ASP or ASP.NET
How would I determine that.

I got my widget to work but I need help with the validation step to insall the reCAPTCHA in an ASP environment IIS 6.0 Can the following be done without the Visual Studio Website menu?

Add a reference on your website to library/bin/Release/Recaptcha.dll: On the Visual Studio Website menu, choose Add Reference and then click the .NET tab in the dialog box. Select the Recaptcha.dll component from the list of .NET components and then click OK. If you don't see the component, click the Browse tab and look for the assembly file on your hard drive.
Insert the reCAPTCHA control into the form you wish to protect by adding the following code snippets: top of page
<%@ Register TagPrefix="recaptcha" Namespace="Recaptcha" Assembly="Recaptcha" %>

then it says to insert this inside the <form runat="server"> tag
<recaptcha:RecaptchaControl
ID="recaptcha"
runat="server"
PublicKey="your_public_key"
PrivateKey="your_private_key"
/>


http://code.google.com/apis/recaptcha/docs/aspnet.html