I'm trying this out on localhost, with the aim of purchasing it for a production site. I need to have the redirect page be different for different parts of the site.
I found a topic on this, dating back to 2007, where somebody wanted to set up variable pages as the redirect after captcha fail. I followed the directions on that, and I've had partial success. By "partial success" I mean that I've got the variable page redirection set up, but now the captcha image doesn't show.
In this code, the basic code, with my variable setup commented out, the captcha image shows up just fine:
'Dim myvariablepage
'myvariablepage = "loginform.asp?message=1&username="&username&"&password="&thispass
'strIncorrectCAPTCHApage = myvariablepage
Const strIncorrectCAPTCHApage = "loginform.asp?message=1"
But when I comment out the original to enable the variable page setup, the captcha image is broken:
Dim myvariablepage
myvariablepage = "loginform.asp?message=1&username="&username&"&password="&thispass
strIncorrectCAPTCHApage = myvariablepage
'Const strIncorrectCAPTCHApage = "loginform.asp?message=1"
I can toggle this back and forth, and the results are the same. What am I doing wrong here? Any help?