I am trying to have a remember me feature in CodeIgniter. My issue is that after 2 hours or so, my sessions are expiring.
I have tried using:
$remember = $this->input->post('remember_me');
if($remember) {
$this->session->sess_expiration = '1209600';
}
And I am suspecting its because of:
$config['sess_expiration'] = 7200;
in config.php
. Maybe it's overriding the maximum session time. Any help on this will be appreciated.