XML-RPC server

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Hugh Oxford

    XML-RPC server

    I am writing an XML-RPC server (or to be more accurate, rewriting an old
    one). Maybe I'm doing this all wrong, and I need some perspective, as
    I've been at it for two days now...

    I wish to employ sessions server side, so that I can do the following,
    for example...

    $xml_rpc_client->register('foo' , 'bar'); // sets $foo = 'bar' in session
    on server
    $xml_rpc_client->getvar('foo' ); //gets value of $foo from session and
    returns it.

    The problem seems to be that every call to the xml-rpc client starts
    another session on the server.

    Is it something to do with the fact that it's server to server, i.e that
    the user agent is not a web browser? Or is there something I've missed?
Working...