limit to session storage? - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: limit to session storage? (/showthread.php?tid=43774) |
limit to session storage? - El Forum - 07-22-2011 [eluser]dadamssg[/eluser] Is there a limit to how many items/data you can store in a session? It seems my script doesn't store certain variables when they should be. Maybe i have too much information in them? limit to session storage? - El Forum - 07-22-2011 [eluser]rhollister[/eluser] Are you referring to a PHP session or the CI default "session" object. If you are referring to the default CI session it is stored in browser cookies so the CI user guide page says: Cookies can only hold 4KB of data, so be careful not to exceed the capacity. I would recommend moving to a $_SESSION or a database session. Looks like CI 2.0 now supports sessions stored in the DB. I integrated the PHP session into my application fairly easily: http://codeigniter.com/wiki/PHPSession/ |