> I'm new to XML-RPC and I'm curious if it's possible to 
> maintain session
> information between XML-RPC calls from the same user using 

Hi John,

What I do is create a unique session string which is passed as the first
parameter for any calls that need to know about session information.
On the server side, I use that string to do a hashtable.get(String
sessionID) to
retrieve all the actual session information.  

It's tempting to use cookies and web-server session stuff, but then it
isn't
pure XML-RPC anymore.  

client side:
  sessionID = server.startSession()
  server.nextCall(sessionID, other stuff)
  server.anotherCall(sessionID, other stuff)
  server.nextCall(sessionID, other stuff)

-Jim


> John Svazic
> Software Architect, Research & Development, MKS Inc., www.mks.com
> Waterloo, ON, Canada; Tel: (519)883-3215;  Fax: (519)884-8861
> Build Better Software(tm)
> 
> 

Reply via email to