{"action":"closed","issue":{"url":"https://api.github.com/repos/okgrow/meteor-persistent-session/issues/10","labels_url":"https://api.github.com/repos/okgrow/meteor-persistent-session/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/okgrow/meteor-persistent-session/issues/10/comments","events_url":"https://api.github.com/repos/okgrow/meteor-persistent-session/issues/10/events","html_url":"https://github.com/okgrow/meteor-persistent-session/issues/10","id":50232538,"number":10,"title":"Default 1, set 0, doesn't survive refresh","user":{"login":"IndigoStarfish","id":2046096,"avatar_url":"https://avatars.githubusercontent.com/u/2046096?v=3","gravatar_id":"","url":"https://api.github.com/users/IndigoStarfish","html_url":"https://github.com/IndigoStarfish","followers_url":"https://api.github.com/users/IndigoStarfish/followers","following_url":"https://api.github.com/users/IndigoStarfish/following{/other_user}","gists_url":"https://api.github.com/users/IndigoStarfish/gists{/gist_id}","starred_url":"https://api.github.com/users/IndigoStarfish/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IndigoStarfish/subscriptions","organizations_url":"https://api.github.com/users/IndigoStarfish/orgs","repos_url":"https://api.github.com/users/IndigoStarfish/repos","events_url":"https://api.github.com/users/IndigoStarfish/events{/privacy}","received_events_url":"https://api.github.com/users/IndigoStarfish/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-11-26T22:09:32Z","updated_at":"2015-01-17T05:05:12Z","closed_at":"2015-01-17T05:05:12Z","body":"This works fine\r\n\r\n    // First time all is good\r\n    console.log(Session.get('test')); // undefined\r\n    Session.setDefaultPersistent('test', 0);\r\n    console.log(Session.get('test')); // 0\r\n    Session.update('test', 1);\r\n    console.log(Session.get('test')); // 1\r\n\r\n    // Second time (after reload)\r\n    console.log(Session.get('test')); // this works fine, outputs 1\r\n\r\nHowever this doesn't:\r\n\r\n    // First time all is good\r\n    console.log(Session.get('test')); // undefined\r\n    Session.setDefaultPersistent('test', 1);\r\n    console.log(Session.get('test')); // 1\r\n    Session.update('test', 0);\r\n    console.log(Session.get('test')); // 0\r\n\r\n    // Second time (after reload)\r\n    console.log(Session.get('test')); // expecting 0 here, but getting undefined\r\n\r\nNot sure if chrome, amplifyjs or meteor-persistent-session bug.\r\n(Chrome Version 39.0.2171.65 m, Windows 7 x64)"}}