{"action":"created","issue":{"url":"https://api.github.com/repos/apache/cloudstack/issues/308","labels_url":"https://api.github.com/repos/apache/cloudstack/issues/308/labels{/name}","comments_url":"https://api.github.com/repos/apache/cloudstack/issues/308/comments","events_url":"https://api.github.com/repos/apache/cloudstack/issues/308/events","html_url":"https://github.com/apache/cloudstack/pull/308","id":81147225,"number":308,"title":"Reinstate working sessions in browser ","user":{"login":"rsafonseca","id":12141667,"avatar_url":"https://avatars.githubusercontent.com/u/12141667?v=3","gravatar_id":"","url":"https://api.github.com/users/rsafonseca","html_url":"https://github.com/rsafonseca","followers_url":"https://api.github.com/users/rsafonseca/followers","following_url":"https://api.github.com/users/rsafonseca/following{/other_user}","gists_url":"https://api.github.com/users/rsafonseca/gists{/gist_id}","starred_url":"https://api.github.com/users/rsafonseca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rsafonseca/subscriptions","organizations_url":"https://api.github.com/users/rsafonseca/orgs","repos_url":"https://api.github.com/users/rsafonseca/repos","events_url":"https://api.github.com/users/rsafonseca/events{/privacy}","received_events_url":"https://api.github.com/users/rsafonseca/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":24,"created_at":"2015-05-26T21:38:59Z","updated_at":"2015-06-08T15:55:27Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/cloudstack/pulls/308","html_url":"https://github.com/apache/cloudstack/pull/308","diff_url":"https://github.com/apache/cloudstack/pull/308.diff","patch_url":"https://github.com/apache/cloudstack/pull/308.patch"},"body":"I've seen that session persistence stopped working due to https://github.com/apache/cloudstack/commit/19e3c0168e744a76b5e1dc24a5eafa776d342404\r\nFrom what I could gather from the comments, this was done to fix issue where separate instances of management servers could exist within the same domain.\r\nI've fixed the above mentioned issue by prepending the location's hostname, in order to allow both sessions to co-exist without clashing.\r\nThis also removes the need for this fix https://github.com/apache/cloudstack/commit/6c71d3bae1a3a72a9fa4004decdba4a7174f6913\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/apache/cloudstack/issues/comments/110051983","html_url":"https://github.com/apache/cloudstack/pull/308#issuecomment-110051983","issue_url":"https://api.github.com/repos/apache/cloudstack/issues/308","id":110051983,"user":{"login":"rsafonseca","id":12141667,"avatar_url":"https://avatars.githubusercontent.com/u/12141667?v=3","gravatar_id":"","url":"https://api.github.com/users/rsafonseca","html_url":"https://github.com/rsafonseca","followers_url":"https://api.github.com/users/rsafonseca/followers","following_url":"https://api.github.com/users/rsafonseca/following{/other_user}","gists_url":"https://api.github.com/users/rsafonseca/gists{/gist_id}","starred_url":"https://api.github.com/users/rsafonseca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rsafonseca/subscriptions","organizations_url":"https://api.github.com/users/rsafonseca/orgs","repos_url":"https://api.github.com/users/rsafonseca/repos","events_url":"https://api.github.com/users/rsafonseca/events{/privacy}","received_events_url":"https://api.github.com/users/rsafonseca/received_events","type":"User","site_admin":false},"created_at":"2015-06-08T15:55:27Z","updated_at":"2015-06-08T15:55:27Z","body":"About the redirect rule, i will soon bake a patch that will render that unnecessary, but for now, there should be no problem with just rewriting it in the proxy :)\r\nI'll discuss this with the others on wednesday's meetup in SBP"}}