Welcome Guest, Not a member yet? Register   Sign In
CI3 Session Not Expiring On Browser Close
#5

Thank you for the reply.

I added your code to the constructor of the of the default controller.

PHP Code:
public function __construct()
        {
                
parent::__construct();
                
ini_set('session.cookie_lifetime'0);
        } 

But it still seems to have no effect.
Any idea why?
Reply


Messages In This Thread
RE: CI3 Session Not Expiring On Browser Close - by elabuwa - 08-16-2017, 08:04 PM



Theme © iAndrew 2016 - Forum software by © MyBB