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