Hi Tom,

My xmlrpc functions needed session management, and I have a login
function that returns an ID, and then each other functiton takes that ID
as the first parameter.
If they send NULL as the first parameter, then I know they're not logged
in
and there's no session information.

sess = ni.login(user, pass)
data = ni.getData(sess, type)
ni.addData(sess, newData)
...

People have hacked xml-rpc servers to use cookies for this
purpose, but the above is simple, and works with 
every xmlrpc client.

-Jim
 

-----Original Message-----
From: Thomas Smallwood [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 09, 2005 1:33 PM
To: [email protected]
Subject: Session management


Does the java XmlRpcClient do session management?

If not what is a possible solution?

thanks


Reply via email to