CodeIgniter Forums
how to set session expire 10 minutes. - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forum-5.html)
+--- Forum: General Help (https://forum.codeigniter.com/forum-24.html)
+--- Thread: how to set session expire 10 minutes. (/thread-71125.html)



how to set session expire 10 minutes. - kvanaraj - 07-09-2018

how to set session expire 10 minutes.


RE: how to set session expire 10 minutes. - InsiteFX - 07-10-2018

Setting time for cookies etc;

days hours Minutes Seconds
30 * 24 * 60 * 60


RE: how to set session expire 10 minutes. - php_rocs - 07-10-2018

@kvanaraj,

Set the $config['sess_expiration'] variable in the config.php file.