Welcome Guest, Not a member yet? Register   Sign In
set_userdata doesn't realy set userdata


I'm using a modified version of the very basic user authentication library (https://github.com/joelvardy/Basic-CodeI...entication) for the authentication in my application.

It was working well until I did an upgrade to CI3 RC2, after that upgrade the userdata isn't set.

PHP Code:
$user_details $user->row();
// Set the userdata for the current user
'identifier' => $user_details->identifier,
'username' => $user_details->email,
'logged_in' => $_SERVER['REQUEST_TIME']

I use the database driver with the following configuration

PHP Code:
$config['sess_driver'] = 'database';
$config['sess_cookie_name'] = 'session';
$config['sess_expiration'] = 7200;
$config['sess_save_path'] = 'session'//my sesion table
$config['sess_match_ip'] = FALSE;
$config['sess_time_to_update'] = 300

Does someone know what I am doing wrom?

Messages In This Thread
set_userdata doesn't realy set userdata - by bboom - 02-23-2015, 01:39 AM

Theme © iAndrew 2016 - Forum software by © MyBB