{"action":"closed","issue":{"url":"https://api.github.com/repos/hapijs/yar/issues/98","repository_url":"https://api.github.com/repos/hapijs/yar","labels_url":"https://api.github.com/repos/hapijs/yar/issues/98/labels{/name}","comments_url":"https://api.github.com/repos/hapijs/yar/issues/98/comments","events_url":"https://api.github.com/repos/hapijs/yar/issues/98/events","html_url":"https://github.com/hapijs/yar/issues/98","id":160267703,"number":98,"title":"How to invalidate a session?","user":{"login":"kfir124","id":4980504,"avatar_url":"https://avatars.githubusercontent.com/u/4980504?v=3","gravatar_id":"","url":"https://api.github.com/users/kfir124","html_url":"https://github.com/kfir124","followers_url":"https://api.github.com/users/kfir124/followers","following_url":"https://api.github.com/users/kfir124/following{/other_user}","gists_url":"https://api.github.com/users/kfir124/gists{/gist_id}","starred_url":"https://api.github.com/users/kfir124/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kfir124/subscriptions","organizations_url":"https://api.github.com/users/kfir124/orgs","repos_url":"https://api.github.com/users/kfir124/repos","events_url":"https://api.github.com/users/kfir124/events{/privacy}","received_events_url":"https://api.github.com/users/kfir124/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-14T19:47:07Z","updated_at":"2016-06-15T02:50:42Z","closed_at":"2016-06-15T02:50:42Z","body":"Hi nice project but there are some things I do not fully understand\r\n\r\n1) (not related to the title) what is the differences exactly between this package and the auth-cookie package?\r\n2) How can I invalidate a session? (for example when a user clicks on logout)\r\n3) How can I invalidate a session when the current session belongs to another use (for example admin wants to remove admin rights from another account, current session is admin A and I want to invalidate a different session which belongs to admin B)\r\n\r\nI'm thinking to use yar as a pure session implementation with Redis as the session backend cache.\r\n\r\n(by the way if I use yar as a pure session, does it store the sesssion ID in the cookie? and does it sign the session ID?) \r\n\r\nThanks in advance\r\n\r\nEDIT: Pure session = maxCookieSize: 0"}}
{"actor":{"display_login":"mark-bradshaw"}}