Skip to content

Commit f116f0e

Browse files
committed
Add note about max blob size
1 parent e5d7936 commit f116f0e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

cookbook/configuration/pdo_session_storage.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,12 @@ following (MySQL):
216216
`sess_lifetime` MEDIUMINT NOT NULL
217217
) COLLATE utf8_bin, ENGINE = InnoDB;
218218
219+
.. note::
220+
221+
A ``BLOB`` column type can only store up to 64 kb. If the data stored in
222+
a user's session exceeds this, their session will be reset. Consider using
223+
a ``MEDIUMBLOB`` if you need more space.
224+
219225
PostgreSQL
220226
~~~~~~~~~~
221227

0 commit comments

Comments
 (0)