I have an application developed with CodeIgniter, PHP and MySQL. The user session has always been treated according to the CodeIgniter standard, but now I need the session to be more restrictive, working in a similar way to an internet banking session, expiring in seven minutes (420 seconds) of inactivity, and at each client request with the server these seven minutes are renewed.
I do not know if natively just setting parameters CodeIgniter supports this way of storing the session, but I have not been able to represent this way of working.
I do not know if for this level of restriction I need to reimplement some methods of the CI_Session class, or if I just need to correctly define the CI parameters?
If not, is there already a CodeIgniter class or plugin that already has an activity like this implemented?
Example of how I'm setting the parameters:
$config['sess_cookie_name'] = 'ci_session';
$config['sess_expiration'] = 420;
$config['sess_encrypt_cookie'] = FALSE;
$config['sess_use_database'] = TRUE;
$config['sess_table_name'] = 'ci_sessions';
$config['sess_match_ip'] = FALSE;
$config['sess_match_useragent'] = TRUE;
$config['sess_time_to_update'] = 420;
$config['sess_storage'] = 'database';
$config['sess_database'] = 'default';
$config['sess_timeout'] = 7200;
$config['sess_destroy_on_timeout'] = FALSE;
$config['sess_update_interval'] = 180;
$config['sess_gc_probability'] = 10;
$config['sess_http_only'] = FALSE;
$config['sess_secure'] = FALSE;
$config['sess_forwarded_ip'] = FALSE;