Print Page | Close Window

Adding Captcha to ASP Form to Microsoft Access

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=30787
Printed Date: 15 July 2020 at 1:53am
Software Version: Web Wiz Forums 12.03 - http://www.webwizforums.com


Topic: Adding Captcha to ASP Form to Microsoft Access
Posted By: robinsfcu
Subject: Adding Captcha to ASP Form to Microsoft Access
Date Posted: 02 July 2013 at 7:59pm
I am still learning when it comes to ASP and having the input from the forms inserted into a Microsoft Access Database.  I was able to use the basic install and add it to one of our forms on our website that is sent via form mail.  I am having problems now with adding the captcha to one of our forms that is being inserted into a Microsoft Access database.  I understand one part of the code, has to be placed on the processing page.  I honestly do not know what is the processing page.  The form action is FORM ACTION="<%=MM_editAction%>" so I really don't know from there where it is being processed.  Once the information is submitted, it redirects the user to another page saying that their information has been received.  Can someone help me with this?  I am losing my mind over here.



Replies:
Posted By: WebWiz-Bruce
Date Posted: 03 July 2013 at 4:07pm
You need to look back in your code to where the variable MM_editAction is initialised. It should look something like:-

MM_editAction = "mypage.asp"

Once you locate this you should then  see the page that the form is submitted too and processes the form submission.


-------------
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: robinsfcu
Date Posted: 08 July 2013 at 1:13pm
Thank you for your reply.  On the page, it states this:

Dim MM_editAction
MM_editAction = CStr(Request.ServerVariables("SCRIPT_NAME"))
If (Request.QueryString <> "") Then
  MM_editAction = MM_editAction & "?" & Server.HTMLEncode(Request.QueryString)
End If

So I am still quite unsure where that goes to.


Posted By: WebWiz-Bruce
Date Posted: 08 July 2013 at 1:38pm
Looks like this is some really over complicated code to resubmit the page back on it's self.

-------------
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: robinsfcu
Date Posted: 08 July 2013 at 1:48pm
The information that is inputted in the form gets sent to a Microsoft Access database which links to this portal where an employee can view the forms internally with a login/password.  Would the processing page be where this information is submitted?  When the user submits the form, it does redirect them to a confirmation page that lets them know the information has been submitted.  I tried to use that page but that didn't work.


Posted By: WebWiz-Bruce
Date Posted: 08 July 2013 at 1:51pm
The processing page is the page where the form is submitted.

The code to check that the CAPTCHA code is entered correctly needs to run before the submitted code is processed, so if the CAPTCHA code is wrong the form is not processed and added to your database.


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