Multiple XML-RPC calls over the same connection?

Jeremy Jones zanesdad at bellsouth.net
Fri Oct 29 06:29:54 EDT 2004


The Fumigator wrote:

>Hi.
>
>I want to be able to create a persistent connection between an XML-RPC
>client and server... i.e. I want to be able to login once, carry
>out a number of calls and then logout rather than send login info for
>every call. 
>
>Is there a way to do this with the xml-rpc code in the standard library?
>
>Thanks in advance
>  
>

What do you mean by login, logout and login info?  Do you mean establish 
connection, close connection and <I don't know what would be equivalent 
for login info>?  Are you wanting a keepalive?  If so, I don't know of 
how to do that with the standard library.  If you've got some sort of 
login mechanism on your XMLRPCServer, I would assume you would have to 
pass back whatever "key" you received upon login per call....  But I 
guess it depends on what you mean.


Jeremy Jones



More information about the Python-list mailing list