Did you choose "Remember Me" when you logged in?
If so you will be automatically logged in and may not realise that you were in fact logged out.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I've gone in to the sessions file in the config folder and changed the lifetime = 1 and expire_on_close = false.
Anything that I put in to the session variable gets wiped out after x amount of minutes that I set in the config file but I'm still not logged out. Am I supposed to create something that logs me out or is Laravel supposed to log me out automatically?
@bashy from my understanding he has deliberately set the session timeout to 1 minute and can see that the session variables are "wiped" after that time period, but says he is still logged in - i.e. the session timeout doesn't appear to log him out.
If "remember me" is set though, when he refreshes the page it will appear as if he was never logged out.
Please or to participate in this conversation.