I am working on CodeIgniter framework.
What I want, is to set the session expiring time of the site to 3 hours ie, (3600*3=10800 seconds).
But when I set the $config['sess_expiration'] = 10800; in config.php, the session is getting expired within around 30 minutes of idle and is redirected to login page.
Why is this happening?
These are some of my session settings in config
$config['sess_cookie_name'] = 'ci_session';
$config['sess_expiration'] = 10800;
$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'] = 300;