{"action":"created","issue":{"url":"https://api.github.com/repos/sockjs/sockjs-node/issues/29","repository_url":"https://api.github.com/repos/sockjs/sockjs-node","labels_url":"https://api.github.com/repos/sockjs/sockjs-node/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/sockjs/sockjs-node/issues/29/comments","events_url":"https://api.github.com/repos/sockjs/sockjs-node/issues/29/events","html_url":"https://github.com/sockjs/sockjs-node/pull/29","id":2132129,"number":29,"title":"Connection.cookies : read cookies sent by the client","user":{"login":"kapouer","id":131406,"avatar_url":"https://avatars.githubusercontent.com/u/131406?v=3","gravatar_id":"","url":"https://api.github.com/users/kapouer","html_url":"https://github.com/kapouer","followers_url":"https://api.github.com/users/kapouer/followers","following_url":"https://api.github.com/users/kapouer/following{/other_user}","gists_url":"https://api.github.com/users/kapouer/gists{/gist_id}","starred_url":"https://api.github.com/users/kapouer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kapouer/subscriptions","organizations_url":"https://api.github.com/users/kapouer/orgs","repos_url":"https://api.github.com/users/kapouer/repos","events_url":"https://api.github.com/users/kapouer/events{/privacy}","received_events_url":"https://api.github.com/users/kapouer/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":27,"created_at":"2011-11-03T12:59:29Z","updated_at":"2016-12-19T00:47:50Z","closed_at":"2011-11-14T17:05:46Z","pull_request":{"url":"https://api.github.com/repos/sockjs/sockjs-node/pulls/29","html_url":"https://github.com/sockjs/sockjs-node/pull/29","diff_url":"https://github.com/sockjs/sockjs-node/pull/29.diff","patch_url":"https://github.com/sockjs/sockjs-node/pull/29.patch"},"body":"When remote client and SockJS server share the same domain, they can share cookies.\nIt is useful to get those cookies server-side, so the server hosting SockJS can authenticate\nremote clients against the server hosting the website (and do stuff like grant permissions).\nDress-shoe does this by wrapping method calls, but cookies are supposed to work well\nwith websockets...\nI tested this with websocket hybi10 on chromium 14.\n"},"comment":{"url":"https://api.github.com/repos/sockjs/sockjs-node/issues/comments/267859879","html_url":"https://github.com/sockjs/sockjs-node/pull/29#issuecomment-267859879","issue_url":"https://api.github.com/repos/sockjs/sockjs-node/issues/29","id":267859879,"user":{"login":"utan","id":654690,"avatar_url":"https://avatars.githubusercontent.com/u/654690?v=3","gravatar_id":"","url":"https://api.github.com/users/utan","html_url":"https://github.com/utan","followers_url":"https://api.github.com/users/utan/followers","following_url":"https://api.github.com/users/utan/following{/other_user}","gists_url":"https://api.github.com/users/utan/gists{/gist_id}","starred_url":"https://api.github.com/users/utan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/utan/subscriptions","organizations_url":"https://api.github.com/users/utan/orgs","repos_url":"https://api.github.com/users/utan/repos","events_url":"https://api.github.com/users/utan/events{/privacy}","received_events_url":"https://api.github.com/users/utan/received_events","type":"User","site_admin":false},"created_at":"2016-12-19T00:47:50Z","updated_at":"2016-12-19T00:47:50Z","body":"I am New to SockJs, I come from socket.io but want to stir away from it.. \r\n\r\n I need cookie in my server side because I am using memcached and locutus to parse the php session cookie.. \r\n\r\nThis wouldn't be a security issue because I actually can test origin and if user is logged in my system or not, I am new so don't know if this is the best approach for me..  since I have no Idea where you test Origin in SockJs , at this point SockJs in my point of view accepts all domain to connect to it and you cannot change that.. If am wrong please direct me right way..\r\n\r\n regards"}}
{"actor":{"display_login":"utan"}}