Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - CAPTCHA incorrect in my form, but example works
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Forum LockedCAPTCHA incorrect in my form, but example works

 Post Reply Post Reply
Author
jcrossfield View Drop Down
Newbie
Newbie
Avatar

Joined: 10 April 2009
Location: Auburn, CA
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote jcrossfield Quote  Post ReplyReply Direct Link To This Post Topic: CAPTCHA incorrect in my form, but example works
    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!
Back to Top
123Simples View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 July 2007
Location: United Kingdom
Status: Offline
Points: 1192
Post Options Post Options   Thanks (0) Thanks(0)   Quote 123Simples Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
jcrossfield View Drop Down
Newbie
Newbie
Avatar

Joined: 10 April 2009
Location: Auburn, CA
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote jcrossfield Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
123Simples View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 July 2007
Location: United Kingdom
Status: Offline
Points: 1192
Post Options Post Options   Thanks (0) Thanks(0)   Quote 123Simples Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.