Re: SimpleXMLRPCServer and creating a new object on for each new client request.

2009-05-10 Thread Martin P. Hellwig
Piet van Oostrum wrote: goo...@smetj.net (g) wrote: g Well, I think Martin's example will suit my needs. g Thanks for the explanation! His client code is unnecessarily complicated with 3 session variables. The following code does the same: SESSION = xmlrpclib.ServerProxy(URL_PORT)

Re: SimpleXMLRPCServer and creating a new object on for each new client request.

2009-05-09 Thread google
On May 8, 1:17 am, Piet van Oostrum p...@cs.uu.nl wrote: Jelle Smet je...@smetj.net (JS) wrote: One more thing: JS I start python interactively: import xmlrpclib session1=xmlrpclib.ServerProxy('http://localhost:8000') session2=xmlrpclib.ServerProxy('http://localhost:8000') print

Re: SimpleXMLRPCServer and creating a new object on for each new client request.

2009-05-09 Thread Piet van Oostrum
goo...@smetj.net (g) wrote: g Well, I think Martin's example will suit my needs. g Thanks for the explanation! His client code is unnecessarily complicated with 3 session variables. The following code does the same: SESSION = xmlrpclib.ServerProxy(URL_PORT)

Re: SimpleXMLRPCServer and creating a new object on for each new client request.

2009-05-08 Thread Piet van Oostrum
Jelle Smet je...@smetj.net (JS) wrote: One more thing: JS I start python interactively: import xmlrpclib session1=xmlrpclib.ServerProxy('http://localhost:8000') session2=xmlrpclib.ServerProxy('http://localhost:8000') print session1.show_random() JS 13930 print session2.show_random() JS

Re: SimpleXMLRPCServer and creating a new object on for each new client request.

2009-05-08 Thread Piet van Oostrum
Piet van Oostrum p...@cs.uu.nl (PvO) wrote: Jelle Smet je...@smetj.net (JS) wrote: PvO One more thing: JS I start python interactively: import xmlrpclib session1=xmlrpclib.ServerProxy('http://localhost:8000') session2=xmlrpclib.ServerProxy('http://localhost:8000') print

Re: SimpleXMLRPCServer and creating a new object on for each new client request.

2009-05-07 Thread Piet van Oostrum
Jelle Smet je...@smetj.net (JS) wrote: JS Hi list, JS My goals is to have concurrent and separated client sessions using xmlrpc. JS Initially my though was that SimpleXMLRPCServer was able to create a new JS object instance for each incoming request. JS But this doesn't appear to be the case,

SimpleXMLRPCServer and creating a new object on for each new client request.

2009-05-06 Thread J
Hi list, My goals is to have concurrent and separated client sessions using xmlrpc. Initially my though was that SimpleXMLRPCServer was able to create a new object instance for each incoming request. But this doesn't appear to be the case, unless I'm overlooking something, if so please point me

SimpleXMLRPCServer and creating a new object on for each new client request.

2009-05-06 Thread Jelle Smet
Hi list, My goals is to have concurrent and separated client sessions using xmlrpc. Initially my though was that SimpleXMLRPCServer was able to create a new object instance for each incoming request. But this doesn't appear to be the case, unless I'm overlooking something, if so please point me

Re: SimpleXMLRPCServer and creating a new object on for each new client request.

2009-05-06 Thread Martin P. Hellwig
Jelle Smet wrote: Hi list, My goals is to have concurrent and separated client sessions using xmlrpc. Initially my though was that SimpleXMLRPCServer was able to create a new object instance for each incoming request. But this doesn't appear to be the case, unless I'm overlooking something, if