Print Page | Close Window

CAPTCHA incorrect in my form, but example works

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=27242
Printed Date: 28 March 2026 at 10:57am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: CAPTCHA incorrect in my form, but example works
Posted By: jcrossfield
Subject: CAPTCHA incorrect in my form, but example works
Date Posted: 10 April 2009 at 4:16pm
Hi All,
 
I'm hoping someone can help me get to the bottom of this problem.
 
I installed the web wiz captcha 4.0 to my site and the example file works perfectly. I installed the CAPTCA to my .asp upload form, placing the code in the appropriate spots. The only difference is that my form submits to the same page. I found an example of a submit to same page for processing and made sure my installation matched that.
 
Anway, whenever I submit my form it always comes back as Incorrect and where I have it display the session variable CAPTCHA_Postback, that session var, and other session var's from the CAPTCHA are also blank. Session variables work on this site, I know because I use them throughout the site for other functionality.
 
Please let me know if you have any ideas or need further info. Thank you!



Replies:
Posted By: 123Simples
Date Posted: 10 April 2009 at 4:33pm
What site have you tried to install the captcha on? Bear in mind that you have to edit one of the captcha files too

-------------
http://www.123simples.com/" rel="nofollow - Visit 123 Simples Web Design


Posted By: jcrossfield
Date Posted: 10 April 2009 at 4:38pm

I installed it on my client's site...I cannot share the link as the upload page is in a secure area that requires login.  I developed the login area from scratch, using .asp.

Yes, I did edit the one captcha file as specified in the instructions.


Posted By: 123Simples
Date Posted: 10 April 2009 at 4:51pm
Okay - I only ask because sometimes it helps to see what is happening. I assume that you have installed the captcha folder in the root directory, and the includes statement obviously on the contact.asp page (or whatever the contact page is named)

It sounds like some other coding within the page is preventing the captcha from working. Perhaps you need to place the include code higher up the page? I'm only guessing that another includes file that you may have on that page is stopping it, especially if you have already had it working elsewhere


-------------
http://www.123simples.com/" rel="nofollow - Visit 123 Simples Web Design


Posted By: WebWiz-Bruce
Date Posted: 13 April 2009 at 8:33am
You mention in your first post that the page you are submitting to is called upload.asp. I can assume from this then that the you are uploading files?

To upload files to the server you have to change the form enctype type to:-

enctype="multipart/form-data"

This changes the way data is posted to the server which would mean that you can not read in the form data from the CAPTCHA security code text field using the normal Request.Form method.

The only way you would get web wiz captcha to work is to recode the CAPTCHA security code checking code to use the upload component that you are using to get the form 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



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