Welcome Guest, Not a member yet? Register   Sign In
session 4K limit
#1

[eluser]Unknown[/eluser]
Hello. I'm looking for information about the Code Igniter Session Class. According to the documentation, care should be taken with the amount of data you store in the session since it is being saved via a cookie. A browser cookie has a 4K limit which is even less if you have encryption enabled.

http://ellislab.com/codeigniter/user-gui...sions.html

My question is this. If I activate the ability to "save session data to the database" do I eliminate the 4K limit? My thinking here is that the only thing that is needed in the cookie is the session_id if the database holds all the data. If all other data is stored in the database, I would think that I could have more than 4K.

Is this really the case, or is saving the session to the database feature just an added security mechanism and the cookie still holds all the data and thus the 4K limit still exists.

If anyone can shed some light on this, I would really appreciate it.




Theme © iAndrew 2016 - Forum software by © MyBB