title: Uploadify pass formdata variable to handler.ashx
body: <p>I am trying to send parameters from my .aspx page into my handler.ashx with the help of "formdata" in uploadify using .net and c# when I upload a file. The parameters are take from textboxes that have values in the.
  The code is: </p>
  
  <pre><code> &lt;script type = "text/javascript"&gt;
       $(document).ready(function() {
           $("#&lt;%=FileUpload1.ClientID %&gt;").uploadify({
               'swf': 'Scripts/uploadify.swf',
               'uploader': 'Handler.ashx',
               'auto': true,
               'multi': true,
               'buttonText': 'Select File(s)',
               'removeCompleted' : false,
               'fileTypeDesc' : 'PDF Files',
      'fileTypeExts' : '*.pdf',
      'formData' : { "id": "&lt;%=TBcustnom.Text %&gt;", "pwd": "&lt;%=Pwd.Text %&gt;" }
  
  
           });
       });
  </code></pre>
  
  <p>handler.ashx only receives the first value (id), but not whats in the pwd part.</p>
  
  <pre><code>string id = context.Request["id"]; 
  string pwd = context.Request["pwd"];
  </code></pre>
  
  <p>How do I configure the javascript to send both parameters? or how do I configure the handler.ashx to receive the pwd as well?</p>
  
  <p>Best regards</p>