I am new in codeigniter. I wanna change $config['sess_expiration'] default value but don't working when ı set sess_expiration value as another value. For example I set it value as 2 and I was thinking will be session expired after 2 second but it don't be it. I tried many available fix but I can't get any result. My config settings as:
$config['sess_driver'] = 'files';
$config['sess_cookie_name'] = 'ci_session';
$config['sess_expiration'] = 7200;
$config['sess_save_path'] = NULL;
$config['sess_match_ip'] = FALSE;
$config['sess_time_to_update'] = 300;
$config['sess_regenerate_destroy'] = FALSE;
I don't think to need ci_sessions table for I don't use sess_use_database in my config settings. What should I do?
Edit:
My codeigniter version 3.1.0. As far as I can see this version's session library is not containing sess_read() or sess_update() methods or sess_expiration class variable.