It looks like PhoenixLiveSession adds a put_session
callable on a LiveView socket, though it also adds a pubsub system that this use case doesn’t really require.
And there is an example out there of setting session cookie with hooks.
It looks like PhoenixLiveSession adds a put_session
callable on a LiveView socket, though it also adds a pubsub system that this use case doesn’t really require.
And there is an example out there of setting session cookie with hooks.