-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Closed
Labels
HttpFoundationactionableClear and specific issues ready for anyone to take them.Clear and specific issues ready for anyone to take them.good first issueIdeal for your first contribution! (some Symfony experience may be required)Ideal for your first contribution! (some Symfony experience may be required)hasPRA Pull Request has already been submitted for this issue.A Pull Request has already been submitted for this issue.
Description
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
- enable STRICT SQL MODE in mysql so that such an error would be noticed
Based on symfony/symfony#14647
Metadata
Metadata
Assignees
Labels
HttpFoundationactionableClear and specific issues ready for anyone to take them.Clear and specific issues ready for anyone to take them.good first issueIdeal for your first contribution! (some Symfony experience may be required)Ideal for your first contribution! (some Symfony experience may be required)hasPRA Pull Request has already been submitted for this issue.A Pull Request has already been submitted for this issue.