{"action":"closed","issue":{"url":"https://api.github.com/repos/expressjs/session/issues/177","labels_url":"https://api.github.com/repos/expressjs/session/issues/177/labels{/name}","comments_url":"https://api.github.com/repos/expressjs/session/issues/177/comments","events_url":"https://api.github.com/repos/expressjs/session/issues/177/events","html_url":"https://github.com/expressjs/session/issues/177","id":90173810,"number":177,"title":"Expire sessions form the same user","user":{"login":"jhihn","id":5502325,"avatar_url":"https://avatars.githubusercontent.com/u/5502325?v=3","gravatar_id":"","url":"https://api.github.com/users/jhihn","html_url":"https://github.com/jhihn","followers_url":"https://api.github.com/users/jhihn/followers","following_url":"https://api.github.com/users/jhihn/following{/other_user}","gists_url":"https://api.github.com/users/jhihn/gists{/gist_id}","starred_url":"https://api.github.com/users/jhihn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhihn/subscriptions","organizations_url":"https://api.github.com/users/jhihn/orgs","repos_url":"https://api.github.com/users/jhihn/repos","events_url":"https://api.github.com/users/jhihn/events{/privacy}","received_events_url":"https://api.github.com/users/jhihn/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/expressjs/session/labels/discuss","name":"discuss","color":"02d7e1"},{"url":"https://api.github.com/repos/expressjs/session/labels/ideas","name":"ideas","color":"d7e102"}],"state":"closed","locked":false,"assignee":{"login":"dougwilson","id":67512,"avatar_url":"https://avatars.githubusercontent.com/u/67512?v=3","gravatar_id":"","url":"https://api.github.com/users/dougwilson","html_url":"https://github.com/dougwilson","followers_url":"https://api.github.com/users/dougwilson/followers","following_url":"https://api.github.com/users/dougwilson/following{/other_user}","gists_url":"https://api.github.com/users/dougwilson/gists{/gist_id}","starred_url":"https://api.github.com/users/dougwilson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dougwilson/subscriptions","organizations_url":"https://api.github.com/users/dougwilson/orgs","repos_url":"https://api.github.com/users/dougwilson/repos","events_url":"https://api.github.com/users/dougwilson/events{/privacy}","received_events_url":"https://api.github.com/users/dougwilson/received_events","type":"User","site_admin":false},"milestone":null,"comments":13,"created_at":"2015-06-22T18:27:34Z","updated_at":"2015-10-25T21:57:56Z","closed_at":"2015-10-25T21:57:56Z","body":"It is possible for a user to login multiple times (from same browser or multiple machines). In any case, it would be desirable for some applications to limit this ability to just one session per user. (Auto-log off, security  implications). The user may not already have a shared cookiejar either.\r\n\r\nIt would be desired to have some kind of support to specify how to match existing rows in the session store and delete them. For instance passport puts a 'passport: {/*deserializeduser*/}' object in the server side of the cookie. If I could provide some kind of match function, that would be awesome.\r\n"}}