title: Setting cookie from webservice call out in salesforce
body: <p>Can somebody please explain me the below?</p>
  
  <pre><code>stub.inputHttpheaders_x.put('Cookie', 'name = value');
  </code></pre>
  
  <p>What is 'name = value' in this case?</p>
  
  <p>I am getting the cookie as below:</p>
  
  <pre><code>stub.outputHttpheaders_x.get('Set-cookie');
  </code></pre>
  
  <p>How do i use this cookie in the first statement?</p>
  
  <p>Thanks in advance.</p>