title: Manually set Cookie header with PhoneGap FileTransfer
body: <p>I have an issue with Cookies, when setting them manually for a Phonegap FileTransfer request.</p>
  
  <p>I tried to set the cookie using </p>
  
  <pre><code>   document.cookie="JSESSIONID=........"; 
  </code></pre>
  
  <p>and </p>
  
  <pre><code>   params.headers={'Cookie':"JSESSIONID=..."};
  </code></pre>
  
  <p>Then making these changes that I found someone suggesting:
  <a href="https://stackoverflow.com/a/3709746/249328">https://stackoverflow.com/a/3709746/249328</a></p>
  
  <p>But after all this, no Cookie header is sent in the request.</p>
  
  <p>I need to set this cookie manually because I am using FileTransfer for a request.</p>
  
  <p>Any help or suggestion?
  Thanks in advance.</p>