Skip to content

[HttpFoundation] Session handlers should use a lock #4976

Open
@vicb

Description

@vicb

The following session handlers:

  • MemcachedSessionHandler
  • MemcacheSessionHandler
  • MongoDbSessionHandler
  • PdoSessionHandler done

do not use a lock to serialize access to the session data. This might result in a data corruption / lose of data when two requests are modifying the session data at the same time.

see #4668

edit:

This is also applicable to Symfony/Bridge/Doctrine/HttpFoundation/DbalSessionHandler.php

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions