EllisLab text mark
Advanced Search
     
Q: Size of session data
Posted: 19 September 2012 04:38 PM   [ Ignore ]
Avatar
Joined: 2011-10-17
24 posts

Dear Codeigniter team,
reading the questions and answers to this topic does not give me a clear answer.

Can I store more than 4kb of data using a database for the sessions?
Are the contents then stored in a variable instead of cookie?

 
Posted: 19 September 2012 04:58 PM   [ Ignore ]   [ # 1 ]   [ Rating: 0 ]
Avatar
Joined: 2011-04-13
256 posts

If you’re using a database to store session data, then yes you can store significantly more than 4KB. The cookie will be storing the session ID which is used to look up the session in the DB table.

 Signature 

Expert Web Development Backed by LIFETIME Guarantee
CI-Foundation v1
InfinityTracker - Project Management

 
Posted: 19 September 2012 06:20 PM   [ Ignore ]   [ # 2 ]   [ Rating: 0 ]
Avatar
Joined: 2011-10-17
24 posts

Thank you for an answer I can rely on!