I store my session in database with Codeigniter,
maybe stupid my question, but i do not catched if session data has a size limit, and i can’t understand what will happen in the app if reach that limit?
Thank you
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There is no limit when using database to save sessions. CI serializes the data using serialize and saves it to database.
Only limit then could be the field in the database, which differ in cases:
TEXT 65,535 bytes ~64kb
MEDIUMTEXT 16,777,215 bytes ~16MB
LONGTEXT 4,294,967,295 bytes ~4GB