Hello Diogene, Diogene Laerce <[EMAIL PROTECTED]> writes:
> Sorry but I didnt have much time this week, so here am I : No worry, everybody works at his own pace. > In second hand, I saw this in the "xmlrpc2.2 for php" doc : > > ______________________________________________________________ > > > $client->setCookie($name, $value, $path, $domain, $port); > > string $name; > string $value; > string $path; > string $domain; > int $port; > > } > ______________________________________________________________ > > This should be used to set a cookie to send back to the server for > dialog purpose. Ok, there is a misunderstanding. The demexp's "cookie" has nothing in common with HTTP's "cookie". demexp cookie is just a plain integer that you should reuse for all later calls to the demexp server. > PS : The server response debug : > > ---GOT--- > HTTP/1.0 200 OK > Date: Sat, 22 Sep 2007 06:09:32 GMT > Content-Length: 129 > Content-Type: text/xml > Server: Apache/1.3.33 (Unix) PHP/4.3.11 mod_perl/1.29 > > <?xml version='1.0'?> > <methodResponse> > <params> > <param> > <value><int>332720051</int></value> ^^^^^^^^^this is the demexp cookie > </param> > </params> > </methodResponse> > > ---END--- > HEADER: date: Sat, 22 Sep 2007 06:09:32 GMT > HEADER: content-length: 129 > HEADER: content-type: text/xml > HEADER: server: Apache/1.3.33 (Unix) PHP/4.3.11 mod_perl/1.29 > ---PARSED--- > xmlrpcval::__set_state(array( > 'me' => > array ( > 'int' => 332720051, ^^^^^^^^^and you have it in your PHP data structure > ), > 'mytype' => 1, > '_php_class' => NULL, > )) > ---END--- So you are close to a success. You only need to find how to extract this integer from the value you get after the XML-RPC call. Yours, d. -- GPG/PGP key: A3AD7A2A David MENTRE <[EMAIL PROTECTED]> 5996 CC46 4612 9CA4 3562 D7AC 6C67 9E96 A3AD 7A2A _______________________________________________ Demexp-dev mailing list Demexp-dev@nongnu.org http://lists.nongnu.org/mailman/listinfo/demexp-dev