Question : how to set session timeout in codeigniter
Answered by : dwij-sheth
You can update your session expiration time by increasing this variable in config file:
$config['sess_expiration'] = 'somevalue'.
Set $config['sess_expiration'] = 0, if you want it to never expire.
Source : | Last Update : Wed, 13 Oct 21