Problem with form, multipart/form-data

Posted on 2005-04-06
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

    Try without QueryString

    just try

    LVL 5

    Accepted Solution


    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 then do the following.


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

    LVL 6

    Expert Comment

    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

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Have you ever needed to get an ASP script to wait for a while? I have, just to let something else happen. Or in my case, to allow other stuff to happen while I was murdering my MySQL database with an update. The Original Issue This was written…
    This demonstration started out as a follow up to some recently posted questions on the subject of logging in: and…
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!
    This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…

    759 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

    Need Help in Real-Time?

    Connect with top rated Experts

    12 Experts available now in Live!

    Get 1:1 Help Now