Am Dienstag, 4. Oktober 2011, 18:43:30 schrieben Sie: > (Sorry for the delay, I saw your message right now :-() > Thx for your answer. I was hoping that you said. I will need to write > my own session over xmlrpc. ust to check. Thx :-) > I created a small example which implements a session over xmlrpc. The idea is to implement a rpc function, which returns an id, which can identify some server side session structure. This id is passed to each rpc function to identify the session.
The example do not handle session timeouts, but it is quite easy to add a timer to the event loop of the xmlrpc server, which check for session timeout. Then each call to a session must update the last access time. This can be easily implemented in the method RpcSessionService::getSession. You can find the example at: http://www.tntnet.org/xmlrpc-session-demo.tar.gz Tommi ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 _______________________________________________ Tntnet-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tntnet-general
