Welcome Guest, Not a member yet? Register   Sign In
CodeIgnite 2.2 released!
#2

[eluser]satie[/eluser]
Hello, after CI 2.2.0 uploaded I have a problem with session.

This method doesn't work anymore (I have a class in libraries folder):


Code:
public function checkLogin()
        if ($this->CI->session->userdata('id_login') == TRUE) {

        } else {
            if (isset($site_url) && strlen($site_url) > 0) {
                redirect(base_url() . 'index.php/' . $site_url, 'refresh');
            }
        }
}

In my construct method I have:
Code:
public function __construct() {
        $this->CI =  get_instance();
    }

CheckLogin fails: $this->CI->session->userdata('id_login') is not set.


If I rollback previous version all works fine Sad



Messages In This Thread
CodeIgnite 2.2 released! - by El Forum - 06-06-2014, 07:34 AM
CodeIgnite 2.2 released! - by El Forum - 06-08-2014, 07:50 AM
CodeIgnite 2.2 released! - by El Forum - 06-08-2014, 10:20 AM
CodeIgnite 2.2 released! - by El Forum - 06-08-2014, 10:22 AM
CodeIgnite 2.2 released! - by El Forum - 06-08-2014, 11:08 AM
CodeIgnite 2.2 released! - by El Forum - 06-08-2014, 01:36 PM
CodeIgnite 2.2 released! - by El Forum - 06-08-2014, 01:43 PM
CodeIgnite 2.2 released! - by El Forum - 06-08-2014, 01:49 PM
CodeIgnite 2.2 released! - by El Forum - 06-08-2014, 09:21 PM
CodeIgnite 2.2 released! - by El Forum - 06-08-2014, 09:24 PM
CodeIgnite 2.2 released! - by El Forum - 06-09-2014, 03:27 AM
CodeIgnite 2.2 released! - by El Forum - 06-09-2014, 04:25 AM
CodeIgnite 2.2 released! - by El Forum - 06-09-2014, 04:55 AM
CodeIgnite 2.2 released! - by El Forum - 06-09-2014, 05:33 AM



Theme © iAndrew 2016 - Forum software by © MyBB