Skip to content

Session cookie cannot be configured with Session storage duration. #9

@ghost

Description

SessionConfig does not allow configuration of the session cookie to expire when the browser tab is closed. Instead, a Max-Age needs to be specified in SessionConfig.idle which is then converted into an Expiry date.

It might be desirable to expose the HTTPCookie.Expiration type instead of just allowing Max-Age cookies to allow more flexible cookie configurations. Session cookies that get removed on tab close cannot be emulated with the existing mechanism (HTTPCookie.Expiration.session would be required).

Metadata

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