Welcome Guest, Not a member yet? Register   Sign In
Session and Cookies
#4

[eluser]WanWizard[/eluser]
CI uses a database table for session storage. The session cookie (you always need something to link the user to his/her session) only contains some key values to be able to retrieve the correct session record. It is not used to store any session data.

You can, as a fallback for environments without a database, use cookies for simple session storage. Which you should avoid if possible.

This is all explained in the manual.


Messages In This Thread
Session and Cookies - by El Forum - 07-01-2010, 08:45 AM
Session and Cookies - by El Forum - 07-01-2010, 09:39 AM
Session and Cookies - by El Forum - 07-01-2010, 10:11 AM
Session and Cookies - by El Forum - 07-01-2010, 10:41 AM
Session and Cookies - by El Forum - 07-01-2010, 11:12 AM



Theme © iAndrew 2016 - Forum software by © MyBB