ws-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Carroll" <...@microbrightfield.com>
Subject RE: Session management
Date Fri, 09 Sep 2005 18:06:24 GMT

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:TSmallwood@webroot.com] 
Sent: Friday, September 09, 2005 1:33 PM
To: xmlrpc-user@ws.apache.org
Subject: Session management


Does the java XmlRpcClient do session management?

If not what is a possible solution?

thanks



Mime
View raw message