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)
> 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_
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
> 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_
> 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
> 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
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
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
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