View Source Phoenix.SessionProcess.SessionId (phoenix_session_process v0.4.0)

Documentation for Phoenix.SessionProcess.SessionId.

Add this after the :fetch_session plug to generate a unique session ID.

plug :fetch_session
plug Phoenix.SessionProcess.SessionId

Summary

Functions

Link to this function

generate_unique_session_id()

View Source
@spec generate_unique_session_id() :: binary()