Welcome Guest, Not a member yet? Register   Sign In
Session files in CI4


I would like to know how does CI4 session files works.

My issue is that within two weeks, the server creates about 40-50k sessions files that use a lot of server "Inode" resources.

So the question is how those files should work, do they suppose to get deleted after some time?

My session files look like this. You can see that every minute server creates a lof of session files:

[Image: Screenshot-2020-12-29-at-17-36-10.png]

Cleanup PHP Sessions like a PRO

I wrote a method to clean it up in the WRITABLE,  I'll see if I can find it was a while back.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )

Theme © iAndrew 2016 - Forum software by © MyBB