andi wrote
Programmers questions are best asked on the mailinglist. Your XMLRPC client needs to support cookies to keep session data. Have a look at the sync plugin for a PHP example.
Thanks,
I've managed to solve the problem. If somebody is interested here's my solution (without the needed checks):
$m = new xmlrpcmsg('dokuwiki.login');
$m->addParam(new xmlrpcval("rpc_user", "string"));
$m->addParam(new xmlrpcval("rpc_password", "string"));
$r = $c->send($m);
$cookies = $r->cookies();
foreach ($cookies as $name => $cookie)
{
$c->setCookie($name, $cookie['value'], $cookie['path']);
}
Of course one needs to check all the return values.