Posts Tagged ‘PHP’

Xmlrpclib with cookie aware transport

Friday, June 13th, 2008

Using Python made me fall in love with XmlRPC. The python xmlrpclib is great and I’m using this protocol with C# and PHP too.

The problem
Any call to an xmlrpc server is stateless, so that you are forced to send state information back and forth through additional parameters.

The solution
So that i dediced to write a transport object that keeps track of the session id cookies sent by the server.

Here’s the code:

(more…)


 
Roberto Rocco Angeloni is proudly powered by WordPress
Entries (RSS) and Comments (RSS).

Fatal error: Cannot access protected property ObjectMgr::$_verbose in /web/htdocs/www.roccoangeloni.it/home/wp/wp-content/themes/rra/include.php on line 22