Skip to content

Update documentation regarding session configuration #965

Closed
@rj-calvin

Description

So I have been toying with Plug for some time now trying to understand how sessions work and via reading the source code I had learned that it was necessary to add the plug

plug :configure_session, write: true

In order for the response cookie to be written to with the session id generated from Plug.Session.COOKIE.
However, this isn't mentioned anywhere in the documentation.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions