Welcome Guest, Not a member yet? Register   Sign In
Session handling
#13

[eluser]simshaun[/eluser]
In previous versions of CI (< 1.7), CI actually stored session data in cookies by default (I have no idea why..).

The documentation remains like that for those who have not upgraded yet.

You need not worry about it if you are storing sessions in a database.

I do agree that they should alter the session documentation where it says
Quote:A useful aspect of the session array is that you can add your own data to it and it will be stored in the user's cookie. Why would you want to do this? Here's one example:

To
Quote:A useful aspect of the session array is that you can add your own data to it and it will be stored in the user's cookie or database, depending on your config. Why would you want to do this? Here's one example:


Messages In This Thread
Session handling - by El Forum - 12-09-2008, 06:03 AM
Session handling - by El Forum - 12-09-2008, 08:34 AM
Session handling - by El Forum - 12-09-2008, 04:08 PM
Session handling - by El Forum - 12-09-2008, 04:22 PM
Session handling - by El Forum - 12-09-2008, 05:42 PM
Session handling - by El Forum - 12-09-2008, 06:43 PM
Session handling - by El Forum - 12-09-2008, 09:12 PM
Session handling - by El Forum - 12-09-2008, 10:04 PM
Session handling - by El Forum - 12-09-2008, 10:30 PM
Session handling - by El Forum - 12-30-2008, 10:11 AM
Session handling - by El Forum - 12-30-2008, 10:57 AM
Session handling - by El Forum - 12-30-2008, 11:11 AM
Session handling - by El Forum - 12-30-2008, 11:14 AM
Session handling - by El Forum - 12-30-2008, 11:20 AM



Theme © iAndrew 2016 - Forum software by © MyBB