RE: [SOAP] Cookies in http header of soap request.
| From: | LIMBOURG Arnaud | Date: | Wed, 07 May 2003 06:34:57 +0000 |
| Subject: | RE: [SOAP] Cookies in http header of soap request. | ||
| Groups: | php.soap | ||
| Request: | Send a blank email to php-soap+get-581@lists.php.net to get a copy of this message | ||
The parseheader method does get the cookies.
if ($headername == 'set-cookie') {
blabla ...
$this->result_cookies[]
I don't know if there is an accessor somewhere but i would check that
$this->result_cookies contains stuff. This way you could reuse them.
Arnaud.
> Hi,
>
> Im writing a SOAP client that connects to a billing system,
> does a bunch of
> things then quits. The first thing is login (strangely enough). After
> successful
> login the SOAP server returns a cookie in the HTTP header (dumps from
> an intermediate proxy server are attached below).
>
> Any sugestions as to
> 1) How I can get that cookie; and
> 2) Return the cookie in subsequent http headers to the server ?