Welcome Guest, Not a member yet? Register   Sign In
RA_session how to ?


I am a pretty new to codeIgniter.

I am trying to add a 'Remember Me' feature to my website and i'm using the the RA_session library.

I copy/pasted the library to my libraries folder. I tried adding the ra_session->set_userdata() in my login function but it's not working, the session still expires:

if ($valid)
      $data = array(
        'username' => $this->input->post('username'),
        'is_logged_in' => true      

I would really appreciate it if somebody can explain to me how to use the library.

Theme © iAndrew 2016 - Forum software by © MyBB