Print Page | Close Window

CAPTCHA With Multiple Froms

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=30897
Printed Date: 11 July 2020 at 12:14am
Software Version: Web Wiz Forums 12.03 - http://www.webwizforums.com


Topic: CAPTCHA With Multiple Froms
Posted By: stevesensei
Subject: CAPTCHA With Multiple Froms
Date Posted: 27 November 2013 at 4:49pm
I am using a paid version of CAPTCHA on a web site with 3 forms. I have created separate CAPTCHA/CAPTCHA_configuration.asp files, one for each form, so I can return users to the correct page. The problem I have is that I get an error message from line 48 on CAPTCHA/CAPTCHA_configuration.asp saying that the variable has already been initialized. Is there any way around this problem?



Replies:
Posted By: WebWiz-Bruce
Date Posted: 28 November 2013 at 11:02am
Are the forums all on the same page?


-------------
http://www.facebook.com/WebWiz" rel="nofollow - Find Web Wiz on Facebook
http://twitter.com/WebWizUK" rel="nofollow - Follow Web Wiz on Twitter


Posted By: stevesensei
Date Posted: 28 November 2013 at 4:25pm
No, I have 3 separate forms on the web site, each on it's own page. With them are 3 separate configuration files: CAPTCHA/CAPTCHA_configuration1.asp, CAPTCHA/CAPTCHA_configuration2.asp and CAPTCHA/CAPTCHA_configuration3.asp so each form returns to itself on error.


Posted By: WebWiz-Bruce
Date Posted: 29 November 2013 at 9:50am
The error means the variable is already declared and set a value.

The problem could be that you are using a veriable with the same name wiythin the application or including the CAPTCHA_configuration file more than once.


-------------
http://www.facebook.com/WebWiz" rel="nofollow - Find Web Wiz on Facebook
http://twitter.com/WebWizUK" rel="nofollow - Follow Web Wiz on Twitter



Print Page | Close Window

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