Page 2 of 4
Re: Keeps logging users out
Posted: Mon Mar 04, 2019 8:37 am
by axew3
exactly this is the problem.
Would be more easy for me to understand why with access to this server, or almost visiting the site to exactly understand when it happen, may i can reverse mentally. Can you reply here or pm me the url to the site?
Why on earth would it dissappear
so can you detect this:
login in wp side, then remain in wp side: the k cookie value persist?
in which moment it reset?
When you visit phpBB side?
Re: Keeps logging users out
Posted: Mon Mar 04, 2019 8:46 am
by ave
axew3 wrote: ↑Mon Mar 04, 2019 8:37 am
exactly this is the problem.
Would be more easy for me to understand why with access to this server, or almost visiting the site to exactly understand when it happen, may i can reverse mentally. Can you reply here or pm me the url to the site?
Why on earth would it dissappear
so can you detect this:
login in wp side, then remain in wp side: the k cookie value persist?
in which moment it reset?
When you visit phpBB side?
While I remain in WP side - _k cookie persist. It resets when I stay idle for a long time (I changed session length in phpbb admin back to 60 seconds, just to test), and after minute or two staying idle - I visit phpbb and _k is then reset...
I sent you info for test login on my site, so you can try the same principle. Login, surf on WP side and then forget about it for a few minutes. After that, come back and visit forum - I think it will log you out as soon as you try to surf on forum.
Re: Keeps logging users out
Posted: Mon Mar 04, 2019 9:35 am
by axew3
may i'm wrong, but can you please access your ACP
and under
Server configuration -> Security settings -> Remember Me" login key expiration length (in days):
you need to setup this value as 0.
Isn't it? May setup it as 0 and all should work?
Re: Keeps logging users out
Posted: Mon Mar 04, 2019 10:19 am
by ave
It was set to 365 days. So, I set it now to 0, and we'll see what happens in next few minutes...
Re: Keeps logging users out
Posted: Mon Mar 04, 2019 10:29 am
by axew3
Perfect
Re: Keeps logging users out
Posted: Mon Mar 04, 2019 11:42 am
by ave
Hm... Seems better now, at least is not logging me out after a minute or two... It logged me out on mobile, but I cleared cache and tried again, now it seems fine.
I don't want to jinx it, but it seems to be working. But where is the logic? Login key expiration was set to 365 days...