Welcome Guest, Not a member yet? Register   Sign In
Library creation problem!
#8

[eluser]Joseph1982[/eluser]
Thank you again.


I tried that way but it doesn't work. But I tried another method as you mentioned and that works fine. Now the library is like this:


Code:
class User_authentication
{

    function User_authentication()
    {
        $this->obj =& get_instance();
    }

    function display()
    {

        // Not logged in, then redirect to the Home Page.
        if(!$this->obj->session->userdata('logged_in'))
            redirect('', 'refresh');        
    }

}


Messages In This Thread
Library creation problem! - by El Forum - 09-17-2008, 04:24 AM
Library creation problem! - by El Forum - 09-17-2008, 05:04 AM
Library creation problem! - by El Forum - 09-17-2008, 06:35 AM
Library creation problem! - by El Forum - 09-17-2008, 06:36 AM
Library creation problem! - by El Forum - 09-17-2008, 07:01 AM
Library creation problem! - by El Forum - 09-17-2008, 07:03 AM
Library creation problem! - by El Forum - 09-17-2008, 07:09 AM
Library creation problem! - by El Forum - 09-17-2008, 07:26 AM
Library creation problem! - by El Forum - 09-17-2008, 07:30 AM
Library creation problem! - by El Forum - 09-17-2008, 07:33 AM
Library creation problem! - by El Forum - 09-17-2008, 07:40 AM



Theme © iAndrew 2016 - Forum software by © MyBB