Hi @shortlyportly,
I was playing with live_session yesterday. I think it depends on what you want to use the session for but if it is to get information based on the session and populate the socket.assigns then the new live_session now has you covered.
You can create a Module that gets called using the on_mount hook (It works like Plug) and you can grab anything you need from the session and add it to the socket before mount is called. The main benefit is to reduce the boilerplate code on every LiveView.
Yesterday I moved the assign(socket, :current_user, user) to and on_mount Module and it works great. There is an example in the docs here
Andrew


















