You need proper tracking to catch when exactly it happens, because "Sometimes" is not possible. There should be some case that generates the issue. Probably using Laravel Telescope can log and show you better at what point, where, why you do lose the session.
I use Telescope to check every request, log and query. But nothing is strange
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community