title: PHP CURL | Header Set-Cookie
body: <p>I send a request to the server ( asterisk rawman ) using php curl, here is server response:</p>
  
  <pre><code>HTTP/1.1 200 OK
  Server: Asterisk/11.9.0
  Date: Wed, 28 May 2014 09:36:51 GMT
  Connection: close
  Cache-Control: no-cache, no-store
  Content-Length: 55
  Content-type: text/plain
  Cache-Control: no-cache;
  Set-Cookie: mansession_id="383b2ccc"; Version=1; Max-Age=60
  Pragma: SuppressEvents
  </code></pre>
  
  <p>here the server set a cookie on client system: <code>Set-Cookie: mansession_id=383b2ccc</code>.</p>
  
  <p>In the next request i have to send this cookie for pass the authentication... But i don't know where is this cookie ? and how i can send that ?
  In the browser its work because browser send the cookie automatically, but in PHP CURL i have a problem </p>