You're going to have several sessions at times. Are people already using your site and logging in, that's where session data comes from. Logins and anything stored in session per user.
File session driver not working properly on production
When using session on my local environment all worked ok, but when I publish the site in a shared hosting I started noticing some strange behaviuours in the app. After a while I realized it has to do with the session an especifically I noticed that when I was working on my local environment the storage/framework/sessions folder only had 1 file that keep updating on any change but then on production I start monitoring the same folder and I realized that on any change instead of updating the file (or creating a new one and deleting the other) it was creating a new file but also keeping the old files making the app start acting in a wrong way.
Is this normal or should it be only 1 file per session as it was in the local environment?
If someone could give me some thoughts about this I will really appreciate, I need to lunch the app ASAP and Im not able to figure out how to make it work properly.
Please or to participate in this conversation.