Print Page | Close Window

Making Incorrect page a variable

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


Topic: Making Incorrect page a variable
Posted By: Meltdown
Subject: Making Incorrect page a variable
Date Posted: 16 September 2007 at 11:12pm

Hi all,

I have two forms on my web site using the CAPTCHA. if the user enters the incorrect letters I want to redirect them back to the same form and flash up a message to try again.

To do this, I need the incorrect page to be a variable not a Constant:

Const strIncorrectCAPTCHApage = "contact.asp?result=1"
I want this > Const strIncorrectCAPTCHApage = myvariablepage
 
I've passed accross the page name in a hidden field and wrote an if statement to switch the myvariablepage, but it doesn't seem to work?...so can I make the incorrect page a variable?
 
Thanks



Replies:
Posted By: WebWiz-Bruce
Date Posted: 17 September 2007 at 10:33am
You would need the following:-


Dim strIncorrectCAPTCHApage
strIncorrectCAPTCHApage = myvariablepage




-------------
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