Also, what SOAP client are you using? Some clients handle cookies well by default, while others (such as .NET) require a little extra code to turn on their cookie support. -Javier -----Original Message----- From: Will Green [mailto:will@hotgazpacho.org] Sent: Tuesday, May 11, 2004 3:31 PM To: soap@lists.php.net Subject: Re: Cannot set cookie from within my SOAP Server class If I were to hazard a guess, I would say that cookies are a notion unique to browsers. SOAP clients, however, need not be called by browsers, and thus may not know what to do with a cookie. What, exactly, are you trying to do with said cookie? Do you need to persist some data across requests? To me, it would make more sense to start a session, and pass the session id as a SOAP header, both in the request from the client, and the response from the server. == Will Noah Lively wrote: > Hi all, > > I have a class that I'm using with a SOAP server. Inside of a function in > this class, I am trying to set a cookie, but have been unsuccessful so far. > I'm using PHP5 RC2 on Windows XP. Cookies set fine on my server in other > places, such as classes (that aren't used for a SOAP server) and standalone > PHP scripts. > > Any ideas? > > ~Noah > -- 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