Reading the Set-Cookie instructions in an HTTP Response header
- by Eduardo León
Is there any standard means in PHP to read the Set-Cookie instructions in an HTTP Response header, without manually parsing it?
More specifically, I want to read the value of the ASP.NET_SessionId cookie returned by an ASP.NET Web Service I am consuming.
EDIT:
I am consuming the Web Service using PHP's native SoapClient class. I can use the…