Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Registering new session bag does not initialize it #10707

Closed
@imunhatep

Description

@imunhatep

If the session is already loaded:

Currently session handlers allow dynamically register new attribute bags, but does not initialize them on registering. And does not throw any exception that created session attribute bag is not saving any data to session.

Developer have to define custom session service and register all bags there (before session loads) or initialize bags by hands.

Symfony 2.4.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    DXDX = Developer eXperience (anything that improves the experience of using Symfony)HttpFoundation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions