Actually the .Net client is capable of storing cookies. To enable them you need to initialize the cookiecontainer in the webservice instance, so after instantiating your webservice client, do: Webservice.CookieContainer = New System.Net.CookieContainer That should do the trick, though it's been a while since I've done this, so there might be a step that I'm missing. I know that .NET webservice clients can store cookies when using HTTP, and that it works with PHP sessions. This method of implementing sessions for SOAP services is frowned upon, however, since SOAP services should not be transport dependant, and cookies are a feature of the HTTP protocol. I believe the "official" soap method of sessions is to use the SOAP header to store the session token or auth info (depending on what functionality you need, sessions or just authentication), though I haven't implemented this myself. Cheers, -Javier > -----Original Message----- > From: Christian Wenz [mailto:chw@hauser-wenz.de] > Sent: Sunday, December 07, 2003 9:19 AM > To: Jens Weibler; soap@lists.php.net > Subject: Re: PEAR::SOAP and Sessions? > > > Hi, > > Jens Weibler wrote: > > > But it seems that I can't save the login-data from access to access > > with php-sessions. I don't want to use HTTP-Auth. Do I have > to submit > > user+password-hash each time I call a remote-function? > > yes, as the client is most certainly not able to save > cookies. However instead of submitting username/password each > time, you should write a login function that does the login > and returns a kind of session token. This token then is > always sent to the web service. <shameless plug>more about > this, including a login example, can be found > in the (German) > book "Web Services mit PHP" ( > http://www.galileocomputing.de/katalog/buecher/titel/gp/titelI D-624 ) :-)</shameless plug> Regards Christian -- 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