![]() |
File Session Cleanup - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: Best Practices (https://forum.codeigniter.com/forumdisplay.php?fid=12) +--- Thread: File Session Cleanup (/showthread.php?tid=64932) |
File Session Cleanup - sergc - 04-12-2016 I'm on the very latest version of CI, using file sessions. What I noticed was that my sessions folder is full of session files when it probably shouldn't be. It seems like old session files are not being deleted. What part of CI or my PHP config is responsible for this and how can I check if it's working properly? Bonus round: I'm on a digital ocean ubuntu box, is there a part in CI docs that breaks down all folders / files and what should their permissions be set to? RE: File Session Cleanup - Narf - 04-13-2016 See this thread: http://forum.codeigniter.com/thread-62844.html RE: File Session Cleanup - spjonez - 04-14-2016 I was concerned about this at first as well but if you watch the directory over a week or two you'll see the GC deleting them. |