Welcome Guest, Not a member yet? Register   Sign In
flexi auth - A user authentication library for CodeIgniter

[eluser]xuma[/eluser]
Hi

Yet again i have problem with
Code:
sess_use_database
.

When i switch TRUE flexi_cart works fine but i cant login with flexi_auth , when i switch FALSE flexi_auth works fine but flexi_cart stops working.

Here what i tried when search for problem ;

Quote:Increase session expire time(timezone problems)
Change timezone
Checked encryption_key,csrf_protection(TRUE)
Increase csrf_expire
Changed usess_series varchar(40) to 256

Checked progress;
getting true from flexi_auth->login (flexi_auth library).
getting false from public function is_logged_in().In this function ;

Code:
$this->auth->session_data[$this->auth->session_name['user_id']] = $user_id;
$this->auth->session_data[$this->auth->session_name['user_identifier']] = $user->{$this->auth->primary_identity_col};
working fine.It fails on this part
Code:
$this->session->set_userdata(array($this->auth->session_name['name'] => $this->auth->session_data))
Dump of this array
Code:
( array($this->auth->session_name['name'] => $this->auth->session_data) )

Code:
Array
(
    [flexi_auth] => Array
        (
            [login_session_token] => 65be0fa48181f4f2a4b84e78816de49065611325
            [logged_in_via_password] => 1
            [user_id] => 99
            [user_identifier] => [email protected]
            [admin] => 1
            [group] => Array
                (
                    [3] => Master Admin
                )

            [privileges] => Array
                (
                )

        )

)
Now updating php version to 5.3 on server.


Messages In This Thread
flexi auth - A user authentication library for CodeIgniter - by El Forum - 12-18-2012, 10:56 AM



Theme © iAndrew 2016 - Forum software by © MyBB