![]() |
Session 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: Session close (/showthread.php?tid=61311) |
Session close - bruno_weusa - 04-07-2015 In version 3.0.0 of CodeIgniter, I'm having problem to close the session when the browser is closed. How to do? Can anyone help me? thanks RE: Session close - Jamper - 04-08-2015 Here: http://www.codeigniter.com/userguide3/libraries/sessions.html Here: http://www.codeigniter.com/userguide3/libraries/sessions.html#destroying-a-session and in the config.php file look for session_expiration. Change it as follows: $config['sess_expiration'] = 0; RE: Session close - ComputingFroggy - 04-13-2015 I had the same problem even, when setting $config['sess_expiration'] = 0; Then I realised, the problem was only with my Firefox browser on Linux, no problem with Midori or Chromium on Linux or even with Firefox (or Chrome and Internet Explorer) on Windows. I don't know what's wrong my Firefox browser on Linux, I've tried disabling all the extensions I use, but I still have the same problem. I am running out of options: if anyone had any ideas on where to look at, I would be grateful ! Cheers in advance, L@u |