{"action":"created","issue":{"url":"https://api.github.com/repos/fguillot/JsonRPC/issues/44","repository_url":"https://api.github.com/repos/fguillot/JsonRPC","labels_url":"https://api.github.com/repos/fguillot/JsonRPC/issues/44/labels{/name}","comments_url":"https://api.github.com/repos/fguillot/JsonRPC/issues/44/comments","events_url":"https://api.github.com/repos/fguillot/JsonRPC/issues/44/events","html_url":"https://github.com/fguillot/JsonRPC/pull/44","id":144265092,"number":44,"title":"[IMP] Add cookie support to Client","user":{"login":"zyphos","id":13495890,"avatar_url":"https://avatars.githubusercontent.com/u/13495890?v=3","gravatar_id":"","url":"https://api.github.com/users/zyphos","html_url":"https://github.com/zyphos","followers_url":"https://api.github.com/users/zyphos/followers","following_url":"https://api.github.com/users/zyphos/following{/other_user}","gists_url":"https://api.github.com/users/zyphos/gists{/gist_id}","starred_url":"https://api.github.com/users/zyphos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zyphos/subscriptions","organizations_url":"https://api.github.com/users/zyphos/orgs","repos_url":"https://api.github.com/users/zyphos/repos","events_url":"https://api.github.com/users/zyphos/events{/privacy}","received_events_url":"https://api.github.com/users/zyphos/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-29T13:29:56Z","updated_at":"2016-04-02T13:33:44Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/fguillot/JsonRPC/pulls/44","html_url":"https://github.com/fguillot/JsonRPC/pull/44","diff_url":"https://github.com/fguillot/JsonRPC/pull/44.diff","patch_url":"https://github.com/fguillot/JsonRPC/pull/44.patch"},"body":""},"comment":{"url":"https://api.github.com/repos/fguillot/JsonRPC/issues/comments/204716785","html_url":"https://github.com/fguillot/JsonRPC/pull/44#issuecomment-204716785","issue_url":"https://api.github.com/repos/fguillot/JsonRPC/issues/44","id":204716785,"user":{"login":"zyphos","id":13495890,"avatar_url":"https://avatars.githubusercontent.com/u/13495890?v=3","gravatar_id":"","url":"https://api.github.com/users/zyphos","html_url":"https://github.com/zyphos","followers_url":"https://api.github.com/users/zyphos/followers","following_url":"https://api.github.com/users/zyphos/following{/other_user}","gists_url":"https://api.github.com/users/zyphos/gists{/gist_id}","starred_url":"https://api.github.com/users/zyphos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zyphos/subscriptions","organizations_url":"https://api.github.com/users/zyphos/orgs","repos_url":"https://api.github.com/users/zyphos/repos","events_url":"https://api.github.com/users/zyphos/events{/privacy}","received_events_url":"https://api.github.com/users/zyphos/received_events","type":"User","site_admin":false},"created_at":"2016-04-02T13:33:44Z","updated_at":"2016-04-02T13:33:44Z","body":"Because your JsonRPC library handle the HTTP connection by itself. And cookie is a part of HTTP needed in some case. Like HTTP auth. (I have not used HTTP Basic authentication since about 20 years but I use cookie everyday)\r\n\r\nI use your library (Client.php) to connect to an Odoo server (formerly know as OpenERP) it is an OpenSource ERP.\r\nhttps://www.odoo.com\r\nhttps://github.com/odoo/odoo\r\n\r\nOdoo need session and session in Odoo are working with cookie. (Session ID is stored in a cookie, like almost every website on internet).\r\n\r\nYou need to login first, then all transactions are linked to your session without having to login again.\r\n\r\nWithout this it is impossible to interface with Odoo. I tested before, It wasn't working, I directly think about cookies. And with this version everything work perfectly, I have inserted more than 50000 records and about 2,5GB of data using your library + cookie.\r\n\r\nThank you for your work."}}