Reading value of cookie using curl in php

Posted by james on Stack Overflow See other posts from Stack Overflow or by james
Published on 2010-05-24T15:47:58Z Indexed on 2010/05/24 15:51 UTC
Read the original article Hit count: 264

Filed under:
|
|

Hello,

Im using Firefox 3.5.9. When i visit a url , it sets a cookie on my computer.I can see this cookie in Firefox by going to Tools->Options->Privacy,then clicking on 'Remove Individual Cookies'. There is a folder called xyz,which contains a cookie named JSessionId and which has some Content value . If i use curl in my php code to navigate to that website,is there a way i can read the Content value of that cookie programmatically ? . Some sample code would be really appreciated.

Thank You

© Stack Overflow or respective owner

Related posts about php

Related posts about cookies