Skip to content

Commit e0996eb

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

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

cookbook/configuration/pdo_session_storage.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,13 @@ 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, an exception may be thrown or their session
223+
will be silently reset. Consider using a ``MEDIUMBLOB`` if you need more
224+
space.
225+
219226
PostgreSQL
220227
~~~~~~~~~~
221228

0 commit comments

Comments
 (0)