Welcome Guest, Not a member yet? Register   Sign In
CI sessions - where is user data saved?
#6

[eluser]ortwin.van.vessem[/eluser]
This is all the data that will be stored in the local cookie when you enable the option to save the session userdata in the database which is not enabled by default.

The local cookie will then be used to determine if the session_id valid against the data in the database.

Keep in mind that you will need to delete your cookie if you are working in a development environment where you first stored the userdata in the cookie.

To delete the cookie execute the following function
Code:
$this->delete_cookie('cookie_name');


Messages In This Thread
CI sessions - where is user data saved? - by El Forum - 09-10-2013, 11:05 AM
CI sessions - where is user data saved? - by El Forum - 09-10-2013, 11:20 AM
CI sessions - where is user data saved? - by El Forum - 09-10-2013, 11:30 AM
CI sessions - where is user data saved? - by El Forum - 09-10-2013, 01:08 PM
CI sessions - where is user data saved? - by El Forum - 09-10-2013, 01:13 PM
CI sessions - where is user data saved? - by El Forum - 09-10-2013, 01:25 PM



Theme © iAndrew 2016 - Forum software by © MyBB