0
With each new visitor to the site, Aravel is creating a new session file in the/Sessions framework folder, even if that user does not create an account or log in or anything like that. Entering a simple api route, you already create the file.
This resulted in 18GB of files, as it was configured, at the client’s request, so that the session would not expire so that the login would always be active.
I wondered if it is normal to create this session file with login visit or if you have to limit it to only when necessary.
And if it is normal, the right one is to limit the lifetime for that file to be deleted and so the folder does not grow as much?
Thank you.
Hello
config/session.php
, looks for "Lifetime" and reads the above comment to understand what it does. In principle it solves the problem– Miguel