Welcome Guest, Not a member yet? Register   Sign In
limit to session storage?
#1

[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?
#2

[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/




Theme © iAndrew 2016 - Forum software by © MyBB