Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Session] PdoSessionHandler notice about data size #5269

Closed
Labels
HttpFoundationactionableClear and specific issues ready for anyone to take them.good first issueIdeal for your first contribution! (some Symfony experience may be required)hasPRA Pull Request has already been submitted for this issue.
@Tobion

Description

@Tobion

If the session data doesn't fit in the data column, it might get truncated by the RDMS (at least mysql). So the data gets corrupted and also PHP session system ignores the data without giving a warning.

So the docs should add a note for this case that people can

  • increase the column size (e.g. BLOB to MEDIUMBLOB) if they have huge session data
  • enableSTRICT SQL MODE in mysql so that such an error would be noticed

Based onsymfony/symfony#14647

Metadata

Metadata

Assignees

No one assigned

    Labels

    HttpFoundationactionableClear and specific issues ready for anyone to take them.good first issueIdeal for your first contribution! (some Symfony experience may be required)hasPRA Pull Request has already been submitted for this issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp