Users gets logged out after 24 hours

Get help with installation and running phpBB 3.3.x here. Please do not post bug reports, feature requests, or extension related questions here.
LordRazen
Registered User
Posts: 14
Joined: Tue Dec 20, 2022 2:38 pm

Users gets logged out after 24 hours

Post by LordRazen »

Another issue I got (phpbb 3.3.10):

Whenever I login, the user gets logout after roughly 24 hours and I cant find the reason.

I checked the cookies on my local environment and they shouldnt be the problem. At least they're valid for a year:

Code: Select all

[2023-11-30 16:56:05] local.INFO: phpbb3_local_u=5; expires=Fri, 29-Nov-2024 16:56:05 GMT; path=/; domain=.<mydomain>; secure; HttpOnly  
[2023-11-30 16:56:05] local.INFO: phpbb3_local_k=<something>; expires=Fri, 29-Nov-2024 16:56:05 GMT; path=/; domain=.<mydomain>; secure; HttpOnly  
[2023-11-30 16:56:05] local.INFO: phpbb3_local_sid=<sid>; expires=Fri, 29-Nov-2024 16:56:05 GMT; path=/; domain=.<mydomain>; secure; HttpOnly  
It's only http cause this is my local environment.

The "Remember Me" login key expiration length is set to 0

What else could it be?
User avatar
janus_zonstraal
Registered User
Posts: 6468
Joined: Sat Aug 30, 2014 1:30 pm

Re: Users gets logged out after 24 hours

Post by janus_zonstraal »

What else could it be?
Giving us a url so we can check your settings.
Sorry! My English is bat ;) !!!
LordRazen
Registered User
Posts: 14
Joined: Tue Dec 20, 2022 2:38 pm

Re: Users gets logged out after 24 hours

Post by LordRazen »

https://v2.minecraft-heads.com/forum

In case you need backend access I can grant this on a staging environment with the same parameters...
User avatar
Mick
Support Team Member
Support Team Member
Posts: 26681
Joined: Fri Aug 29, 2008 9:49 am

Re: Users gets logged out after 24 hours

Post by Mick »

Your cookies are fine but I see you’re running Cloudflare it could be to do with that.
  • "The more connected we get the more alone we become" - Kyle Broflovski©
  • "The good news is hell is just the product of a morbid human imagination.
    The bad news is, whatever humans can imagine, they can usually create.
    " - Harmony Cobel©
🇬🇧
LordRazen
Registered User
Posts: 14
Joined: Tue Dec 20, 2022 2:38 pm

Re: Users gets logged out after 24 hours

Post by LordRazen »

How cloud Cloudflare interfere here?

Isnt cloudflare long before the check for cookies / login etc?

ALSO: I have the same issue on my local environment which has nothing to do with Cloudflare...

Return to “[3.3.x] Support Forum”