Editors complain that they lose their session while writing. Nothing in the logs.
Skip to content
Users get logged out every few minutes
Score 1
5 answers
Score 10
Sofia Ricci
Helper759 karma59 posts · Joined Dec 2026
Solution
Most often the session lifetime is shorter than you think, or sessions are stored in a folder the server cleans up. Look at:
- Settings > Security > Session lifetime (set 60 minutes or more).
- Whether your host's PHP
session.gc_maxlifetimeis lower; the lower value wins. - A caching plugin or CDN that caches pages with a session cookie.
After setting the lifetime to 120 minutes the problem went away on three sites I manage.
Score 3
Priya Nair
Expert878 karma62 posts · Joined Dec 2026
I had the same on 2.3 and it went away after updating the theme. Which theme are you using?
Score 0
Sofia Ricci
Helper759 karma59 posts · Joined Dec 2026
Can you paste the exact error text? Photos of the screen are hard to search for.
Score 0
Sam O'Connor
Member114 karma32 posts · Joined Dec 2026
This sounds like a memory limit. Raise memory_limit to 256M for a test and see.
Score -1
Maya Okonkwo
Moderator540 karma57 posts · Joined Dec 2026
If your host has a PHP error log, look there as well. The Lumen log only shows what Lumen caught.