Re: PEAR::SOAP and Sessions?

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

 



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/titelID-624 )
:-)</shameless plug>

Regards
Christian

-- 
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