Welcome Guest, Not a member yet? Register   Sign In
Is CI session management broken?
#2

You need to configure the garbage collector. It can be disabled. To do this, set the values in php.ini or set in the file app/Common.php. And execute crontab with session_gc() every day/hour
https://www.php.net/manual/en/session.co...robability


PHP Code:
ini_set('session.gc_probability'1);
ini_set('session.gc_divisor'1000); 
Simple CI 4 project for beginners codeigniter-expenses ( topic )
Reply


Messages In This Thread
RE: Is CI session management broken? - by ozornick - 08-03-2023, 01:56 AM



Theme © iAndrew 2016 - Forum software by © MyBB