Welcome Guest, Not a member yet? Register   Sign In
is there any size limit in session?
#1

[eluser]T I[/eluser]
i want to put almost 90 fields in the session when dump them in an array.
but i don't get the values in the next page.
but when i comment all the field and leave only 6/7 field to store data in session, it works..
What is the problem?

Thanks
#2

[eluser]Jeroen Brussich[/eluser]
As written in a red box on http://ellislab.com/codeigniter/user-gui...sions.html

Quote:Note: Cookies can only hold 4KB of data, so be careful not to exceed the capacity. The encryption process in particular produces a longer data string than the original so keep careful track of how much data you are storing.

That's why CI has the chapter Saving Session Data to a Database on that same webpage...




Theme © iAndrew 2016 - Forum software by © MyBB