{"action":"closed","issue":{"url":"https://api.github.com/repos/koajs/generic-session/issues/72","labels_url":"https://api.github.com/repos/koajs/generic-session/issues/72/labels{/name}","comments_url":"https://api.github.com/repos/koajs/generic-session/issues/72/comments","events_url":"https://api.github.com/repos/koajs/generic-session/issues/72/events","html_url":"https://github.com/koajs/generic-session/issues/72","id":128164787,"number":72,"title":"Why save `cookie` settings inside session object?","user":{"login":"halt-hammerzeit","id":477167,"avatar_url":"https://avatars.githubusercontent.com/u/477167?v=3","gravatar_id":"","url":"https://api.github.com/users/halt-hammerzeit","html_url":"https://github.com/halt-hammerzeit","followers_url":"https://api.github.com/users/halt-hammerzeit/followers","following_url":"https://api.github.com/users/halt-hammerzeit/following{/other_user}","gists_url":"https://api.github.com/users/halt-hammerzeit/gists{/gist_id}","starred_url":"https://api.github.com/users/halt-hammerzeit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/halt-hammerzeit/subscriptions","organizations_url":"https://api.github.com/users/halt-hammerzeit/orgs","repos_url":"https://api.github.com/users/halt-hammerzeit/repos","events_url":"https://api.github.com/users/halt-hammerzeit/events{/privacy}","received_events_url":"https://api.github.com/users/halt-hammerzeit/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-22T14:15:23Z","updated_at":"2016-01-25T19:33:40Z","closed_at":"2016-01-25T19:33:39Z","body":"I'm using `this.session` to store data.\r\nAnd there is some `cookie` object with the cookie settings.\r\nWhy is it placed there?\r\nMy opinion is that it's not needed there and should be removed from there.\r\nI don't care what are the cookie options, I don't need them.\r\nThey take space.\r\nWith millions of sessions that can exhaust ram or disk space."}}