Sessions not deleting |
My session files are not automatically being deleted. I have a client facing website that uses sessions with logins and a REST API that uses Codeigniter. The API doesn’t use any session data, but I think a session still gets started automatically.
My session files are building up in: /var/cpanel/php/sessions/ea-php55 That directory gets up to 30 gigabytes in size. Why is it growing so large and why isn’t it cleaning on its own? These are my session settings: $config['sess_driver'] = 'files'; $config['sess_cookie_name'] = ‘mysession'; $config['sess_expiration'] = (60 * 60); $config['sess_save_path'] = FCPATH . "sessions"; $config['sess_match_ip'] = FALSE; $config['sess_time_to_update'] = 300; $config['sess_regenerate_destroy'] = TRUE; Any ideas? |
Messages In This Thread |
Sessions not deleting - by coolerkid9090 - 12-01-2018, 09:19 AM
RE: Sessions not deleting - by dave friend - 12-01-2018, 02:46 PM
RE: Sessions not deleting - by coolerkid9090 - 12-03-2018, 06:00 PM
RE: Sessions not deleting - by dave friend - 12-04-2018, 09:17 AM
RE: Sessions not deleting - by coolerkid9090 - 12-04-2018, 12:24 PM
RE: Sessions not deleting - by dave friend - 12-04-2018, 12:46 PM
RE: Sessions not deleting - by InsiteFX - 12-01-2018, 02:52 PM
RE: Sessions not deleting - by coolerkid9090 - 12-03-2018, 06:44 PM
RE: Sessions not deleting - by Pertti - 12-04-2018, 02:08 AM
RE: Sessions not deleting - by coolerkid9090 - 12-04-2018, 12:22 PM
|