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 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) print(SESSION.show_

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 wrote: > > Jelle Smet (JS) wrote: > > One more thing: > > >JS> I start python interactively: > > import xmlrpclib > > session1=xmlrpclib.ServerProxy('http://localhost:8000') > > session2=xmlrpclib.ServerProxy('http://localhost:8000') > > pri

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

2009-05-08 Thread Piet van Oostrum
> Piet van Oostrum (PvO) wrote: > Jelle Smet (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 session1.show_

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

2009-05-08 Thread Piet van Oostrum
> Jelle Smet (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.sh

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

2009-05-07 Thread Piet van Oostrum
> Jelle Smet (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, un

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 s

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 ou

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 ou