Print Page | Close Window

WebWiz CAPTCHA not working as expected

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz CAPTCHA
Forum Description: Support forum for the Web Wiz CAPTCHA security image.
URL: https://forums.webwiz.net/forum_posts.asp?TID=21269
Printed Date: 28 March 2026 at 9:03am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: WebWiz CAPTCHA not working as expected
Posted By: macnimation
Subject: WebWiz CAPTCHA not working as expected
Date Posted: 11 September 2006 at 1:40pm
Hi,
 
I have tried to integrate the CAPTCHA feature into an existing Comments form due to recent autobot spamming.
 
I have followed the instructions exactly but I am not getting the required results.
 
1) When I fill out the form and I do not input the code, the page displays that the "CAPTCHA code is NOT correct" but my database populates with the form information anyway.
 
2) If I fill out the form correctly and I DO input the code, I still get "CAPTCHA code is NOT correct" and the database is populated again with the Form information.
 
The form itself uses Yaromats Check form to Validate the fields, but i don't think this should have an effect on the WebWiz CAPTCHA Application.
 
Should the CAPTCHA application block the insertion of the form into the database even if the fields are filled out correctly even though the code is not input or input wrong?
 
cheers



Replies:
Posted By: WebWiz-Bruce
Date Posted: 11 September 2006 at 2:30pm
1. if your database is still populated it sounds like you are not processing the input in the correct way and are populating the database before you check the CAPTCHA is filled in correctly.

2. This could be either that you have not setup the CAPTCHA correctly or there is an issue with the server holding session data.


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: macnimation
Date Posted: 12 September 2006 at 1:32pm
I'll try setting it up again to see what happens. I'm hosting a website myself so I see what happens.
 
The examples that you provided work fine.
 
The form without the Webwiz CAPTCHA works fine, where, if I dont put in the correct criteria then it will not update the database.
 
I have a page called commentsOK.asp that is targeted when the Submit button is clicked.
 
I placed the include
 
<!-- Include file for CAPTCHA form processing -->            
 <!-- #include file="CAPTCHA/CAPTCHA_process_form.asp" -->
 
at the very top of that page, and then placed the:
<%
  If blnCAPTCHAcodeCorrect = True Then
   Response.Write(" CAPTCHA code is correct")
  ElseIf  blnCAPTCHAcodeCorrect = False Then
   Response.Write(" CAPTCHA code is NOT correct")
  End If
  %>
 
in the body of the page. Is this correct?
 
cheers


Posted By: WebWiz-Bruce
Date Posted: 12 September 2006 at 2:31pm
After Response.Write(" CAPTCHA code is NOT correct") you may want to put in the following so the rest of the file is not processed:-

Response.Flush
Response.End


-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: macnimation
Date Posted: 12 September 2006 at 6:30pm
Cheers, I'll give it a go.
 
Thanks for the help.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net