Skip to content

Restart Survivable Sessions

Elisha Hastings edited this page Jul 8, 2018 · 4 revisions

By default, the Coherence.Authentication.Session plug looks up a session_token (stored in the session data) in an Agent process for each authentication request. When the server is restarted, the Agent is restarted, losing all logged in session information.

To allow active sessions to survive a server restart, you have two options

  1. Use the rememberable option and click the Remember Me checkbox when logging in.
  2. Setup Session token Ecto Persistance
Clone this wiki locally