Codeigniter 3 session driver. Is it better to use databse or file? Codeigniter 3 session driver. Is it better to use databse or file? codeigniter codeigniter

Codeigniter 3 session driver. Is it better to use databse or file?


The performance of the database driver will always be far better than file based session backend.

It has no practical limit that is typically of concern, but do note that the session is stored as a single row, limiting your session data approximately to the database's row size limit. This is usually 65,536 bytes, which is more than sufficient for a typical shopping cart.*

Storage RequirementsBLOB, TEXT as L + 2 bytes, where L < 216

Above is from this page.