captcha doesnt work when using enctype="multipart/
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=26820
Printed Date: 28 March 2026 at 2:20pm Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com
Topic: captcha doesnt work when using enctype="multipart/
Posted By: rich123
Subject: captcha doesnt work when using enctype="multipart/
Date Posted: 11 January 2009 at 9:38pm
|
Hi, I have used asp captcha to good use on two sites. I have however found that if I use it on a form with uploads and enctype="multipart/form-data" it keeps saying the captcha is wrong. Is this a recognised issue and is there some way around it. I spent ages until I realised this was the problem. Simply by putting enctype="multipart/form-data" in a working form you can get the repeat error of the captcha.
Thanks for any pointers.
Richard
|
Replies:
Posted By: WebWiz-Bruce
Date Posted: 12 January 2009 at 9:17am
When you post a form to a server using enctype="multipart/form-data" then you can not read in any form fields in the usual way.
How you read in the form data from a form that uses enctype="multipart/form-data" depends on many things, including what upload component you are using.
Some Upload components are able to read in form data which is not part of the upload but you need to consult the upload components documentation on how to do this.
------------- 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
|
|