Support the ongoing development of Laravel.io →
posted 10 years ago
Session
Last updated 2 years ago.

andrewcam liked this thread

1

First, check that you didn't leave any code (from testing maybe) that can log out the user. Also, does the user gets logged out after 2 minutes of being not active?, because that is normal behavior.

Last updated 2 years ago.
0

I had the same problem, it was problem with the session file system i switched to memcached and the problem has been solve for me

Last updated 2 years ago.
0

@Ruk33: Why are 2 minutes of not being active normal behavior? It is set to 120. But the comments (in session.php) are saying, that this is the time in MINUTES and if I take a look at the Cookie Tab in Firebug, the Session expires after 120 minutes.

@fenos: I'm using the database driver. We don't have memcached on our deployment server.

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

dschu-lab dschu-lab Joined 20 Mar 2014

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.