Storing Plug sessions with Mnesia

1 · Jean-Philippe Cugnet · Oct. 11, 2017, midnight
This article was originally published on Medium. TD;DR A package is available on hex.pm and GitHub. I am currently writing my second Phoenix application, Kakte. This is the first one with full-featured user management, so I came to ask myself how sessions are actually handled in the Elixir world. A session is a way to associate a state with an HTTP connection, so it is a pretty important feature which enables authentication and authorisation. Before coming to Phoenix and starting to write some ...