RE: SoapClient::__getCookie?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



As I remember cookies are stored inside some proprty.
Try var_dump($client).

Thanks. Dmitry.

> -----Original Message-----
> From: Adam Maccabee Trachtenberg [mailto:adam@trachtenberg.com] 
> Sent: Monday, February 20, 2006 8:12 PM
> To: Knut Urdalen
> Cc: soap@lists.php.net
> Subject: Re:  SoapClient::__getCookie?
> 
> 
> On Mon, 20 Feb 2006, Knut Urdalen wrote:
> 
> > I need to fetch a cookie set in the SOAP response. I see the 
> > SoapClient object has a __setCookie() function, but can't find a 
> > corresponding
> > __getCookie() function. Is there a workaround to fetch 
> cookie values set
> > in SOAP response HTTP headers?
> 
> There's no built-in way. The hack is to parse the results of 
> __getLastResponseHeaders(). It should be relatively easy to 
> pick out the Cookie fields using a regex, tidy, simplexml, dom, etc.
> 
> -adam
> 
> -- 
> adam@trachtenberg.com | http://www.trachtenberg.com
> author of o'reilly's "upgrading to php 5" and "php cookbook" 
> avoid the holiday rush, buy your copies today!
> 
> -- 
> PHP Soap Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 
> 

-- 
PHP Soap Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Kernel Newbies]     [PHP Database]     [Yosemite]

  Powered by Linux