PdoSessionHandler::createTable()

createTable()

Creates the table to store sessions which can be called once for setup.

Session ID is saved in a column of maximum length 128 because that is enough even for a 512 bit configured session.hash_function like Whirlpool. Session data is saved in a BLOB. One could also use a shorter inlined varbinary column if one was sure the data fits into it.

Exceptions

PDOException When the table already exists
DomainException When an unsupported PDO driver is used
doc_Symfony
2016-10-28 06:26:05
Comments
Leave a Comment

Please login to continue.