{"action":"created","issue":{"url":"https://api.github.com/repos/kataras/iris/issues/414","repository_url":"https://api.github.com/repos/kataras/iris","labels_url":"https://api.github.com/repos/kataras/iris/issues/414/labels{/name}","comments_url":"https://api.github.com/repos/kataras/iris/issues/414/comments","events_url":"https://api.github.com/repos/kataras/iris/issues/414/events","html_url":"https://github.com/kataras/iris/issues/414","id":176194433,"number":414,"title":"Session not kept after rebooting","user":{"login":"Allendar","id":5161272,"avatar_url":"https://avatars.githubusercontent.com/u/5161272?v=3","gravatar_id":"","url":"https://api.github.com/users/Allendar","html_url":"https://github.com/Allendar","followers_url":"https://api.github.com/users/Allendar/followers","following_url":"https://api.github.com/users/Allendar/following{/other_user}","gists_url":"https://api.github.com/users/Allendar/gists{/gist_id}","starred_url":"https://api.github.com/users/Allendar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Allendar/subscriptions","organizations_url":"https://api.github.com/users/Allendar/orgs","repos_url":"https://api.github.com/users/Allendar/repos","events_url":"https://api.github.com/users/Allendar/events{/privacy}","received_events_url":"https://api.github.com/users/Allendar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-10T18:33:58Z","updated_at":"2016-09-10T21:31:35Z","closed_at":null,"body":"I'm using this instance configuration:\r\n\r\n```\r\nm = iris.New(iris.Configuration{\r\n\tIsDevelopment: true,\r\n\tDisableBanner: true,\r\n\tGzip:          true,\r\n\tProfilePath:   \"/debug\",\r\n})\r\n```\r\n\r\nEvery time I restart the server the session data is empty. In Gorilla Sessions you can set a session hash to maintain the sessions after restarting.\r\n\r\nI'm using sessions through cookies.\r\n\r\nHow can this be achieved in Iris?"},"comment":{"url":"https://api.github.com/repos/kataras/iris/issues/comments/246141559","html_url":"https://github.com/kataras/iris/issues/414#issuecomment-246141559","issue_url":"https://api.github.com/repos/kataras/iris/issues/414","id":246141559,"user":{"login":"kataras","id":2321588,"avatar_url":"https://avatars.githubusercontent.com/u/2321588?v=3","gravatar_id":"","url":"https://api.github.com/users/kataras","html_url":"https://github.com/kataras","followers_url":"https://api.github.com/users/kataras/followers","following_url":"https://api.github.com/users/kataras/following{/other_user}","gists_url":"https://api.github.com/users/kataras/gists{/gist_id}","starred_url":"https://api.github.com/users/kataras/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kataras/subscriptions","organizations_url":"https://api.github.com/users/kataras/orgs","repos_url":"https://api.github.com/users/kataras/repos","events_url":"https://api.github.com/users/kataras/events{/privacy}","received_events_url":"https://api.github.com/users/kataras/received_events","type":"User","site_admin":false},"created_at":"2016-09-10T21:31:35Z","updated_at":"2016-09-10T21:31:35Z","body":"Yes, in Iris you can use a session database, read the docs and you will find a redis example"}}
{"actor":{"display_login":"kataras"}}