Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


Problem with form, multipart/form-data

Posted on 2005-04-06
Medium Priority
Last Modified: 2012-05-05
I have a form with the Enctype set to multipart/form-data

I'm using this with a component to upload images onto my server, I'm also trying to insert data into a table using Request.QueryString to grab the details from the form before the uploading of the images script runs.  This doesn't seem to grab anything from the text fields though.

Can I use Request.QueryString along with the current Enctype setting of the form?  If not, how could I solve this?  The enctype needs to stay like this for the upload script to run.
Question by:ihitman
LVL 23

Expert Comment

by:Saqib Khan
ID: 13722044
Try without QueryString

just try


Accepted Solution

Vinod_VijayanVin earned 500 total points
ID: 13724246

Yu cannot use the request methods in case of posting of  multipart form-data.
Yu have to use the methods provided by the uploader object yu r using.

If yu have used the FileUploader from

 It had the Forms collection that contained the form field values :-

 e.g to get the above values in FileUploader what needs to be done is :-

if yu are using the Loader object from aspfree.com then do the following.


Similarly depending on the uploader object yu r using it will have method or collection to
retrieve form values.


Expert Comment

ID: 15168904
No comment has been added to this question in more than 21 days, so it is now classified as abandoned..
I will leave the following recommendation for this question in the Cleanup topic area:
Accept: Vinod_VijayanVin

Any objections should be posted here in the next 4 days. After that time, the question will be closed.

EE Cleanup Volunteer

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have helped a lot of people on EE with their coding sources and have enjoyed near about every minute of it. Sometimes it can get a little tedious but it is always a challenge and the one thing that I always say is:   The Exchange of informatio…
Hello, all! I just recently started using Microsoft's IIS 7.5 within Windows 7, as I just downloaded and installed the 90 day trial of Windows 7. (Got to love Microsoft for allowing 90 days) The main reason for downloading and testing Windows 7 is t…
Loops Section Overview
Enter Foreign and Special Characters Enter characters you can't find on a keyboard using its ASCII code ... and learn how to make a handy reference for yourself using Excel ~ Use these codes in any Windows application! ... whether it is a Micr…
Suggested Courses

564 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question