Welcome Guest, Not a member yet? Register   Sign In
CI 3 RC Session unset in associative array

Hi There everyone!

I have recently upgraded my application to CI 3 RC because of CI's old sessions library, and there is an issue i would like to report.

i was using below structure previously to unset my userdata:

$user_data = array('admin_id' => '', 'username' => '', 'first_name' => '', 'last_name' => '', 'logged_in' => '');

but its not working anymore on my project, its a simple backend for my websites. it was working before, i was on CI 3 Dev release before.

if i change code to below, then it works, issue is with the associative array:



$user_data = array('admin_id', 'username', 'first_name', 'last_name', 'logged_in');

right now my project is on local system, i m using wamp on it, and its a windows 8.1 machine, i have tested in both latest chrome, and firefox.

i can give more details if needed, but i'm fairly new to the codeigniter. please pardon me if posted my first post in the wrong section or if this bug is already reported or if its already addressed.


Messages In This Thread
CI 3 RC Session unset in associative array - by summer - 02-01-2015, 12:17 PM

Theme © iAndrew 2016 - Forum software by © MyBB