CodeIgniter Forums
sess_expire_on_close - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Development (https://forum.codeigniter.com/forumdisplay.php?fid=6)
+--- Forum: CodeIgniter 3.x (https://forum.codeigniter.com/forumdisplay.php?fid=17)
+--- Thread: sess_expire_on_close (/showthread.php?tid=63744)

Pages: 1 2


RE: sess_expire_on_close - PaulD - 04-04-2016

sess_expire_on_close is an old config item that is no longer in use.
See note on this link http://www.codeigniter.com/user_guide/libraries/sessions.html#session-preferences

When a user checks a 'remember me' box, set a cookie with some reference details. When a person visits the login page (or wherever) you can check for the presence of the cookie, read the details and do whatever you need to do (such as login etc).

Let the CI sessions run as normal.

Best wishes,

Paul.