Support the ongoing development of Laravel.io →
Requests Session Views
Last updated 2 years ago.
0

what session driver are you using? does this happen only on the live server? local working okay?

0

I'm using the following session driver:

'driver' => env('SESSION_DRIVER', 'file')

I have only deployed it locally with Homestead and Vagrant

0

i would suggest you to change the driver to database or redis and check again. i've had similar issues when using the file driver together with heavy disk activity in Laravel 5 but it seems to have fixed in 5.1 and above.

if this does not solve your problem try running xdebug to pinpoint the cause.

0

Redis seems to handle the image requests better but I still get logged out after a while. I'll try xdebug later today.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

lrntc lrntc Joined 12 Jul 2016

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.