Hello,
I have installed everything according to the instructions and it works relatively fine. The problem is that it keeps on logging us out. Sometimes after few hours, sometimes after few days, but it's really annoying. It just happened again and I just see that "phpbb3_qac2sy_k" cookie has empty value so I guess that's what's causing the problem. Could you help me in any way? Thank you.
Resolved -> Keeps on logging us out...
- axew3
- w3all User
- Posts: 2883
- Joined: Fri Jan 22, 2016 5:15 pm
- Location: Italy
- Contact:
Re: Keeps on logging us out...
yes this should be the problem so.
But when it happen? It should only happen if an user login on phpBB, with no "remember me" option.
The reason is that if the phpBB cookie not contain the K value (for the remember me login) than the login in WP is checked against session time and if it is expired the user will be logged out.
If the login is done in WP side, despite the user not check the "remember me" onlogin, the phpBB k cookie is by the way released by default, so this should not happen in this case. Isn't it?
Let know
p.s What value have you have set in phpBB ACP for the ""Remember Me" login key expiration length (in days):" option? It is under ACP -> Security settings
But when it happen? It should only happen if an user login on phpBB, with no "remember me" option.
The reason is that if the phpBB cookie not contain the K value (for the remember me login) than the login in WP is checked against session time and if it is expired the user will be logged out.
If the login is done in WP side, despite the user not check the "remember me" onlogin, the phpBB k cookie is by the way released by default, so this should not happen in this case. Isn't it?
Let know
p.s What value have you have set in phpBB ACP for the ""Remember Me" login key expiration length (in days):" option? It is under ACP -> Security settings
Re: Keeps on logging us out...
It's the same when I login on wordpress side and with "remember me" option. Logged out after few hours or days.
"Remember Me login key expiration length (in days)" is set to 0.
"Remember Me login key expiration length (in days)" is set to 0.
- axew3
- w3all User
- Posts: 2883
- Joined: Fri Jan 22, 2016 5:15 pm
- Location: Italy
- Contact:
Re: Keeps on logging us out...
it's strange, can you link the site?
Also you can try to substitute class.wp.w3all-phpbb.php with the follow, and see ('please report) if this resolve?
I'll take a look to all about "session code" (and all the rest) before 1.7.5 (but hope even on 1.7.4)
Also you can try to substitute class.wp.w3all-phpbb.php with the follow, and see ('please report) if this resolve?
I'll take a look to all about "session code" (and all the rest) before 1.7.5 (but hope even on 1.7.4)
- axew3
- w3all User
- Posts: 2883
- Joined: Fri Jan 22, 2016 5:15 pm
- Location: Italy
- Contact:
Re: Keeps on logging us out...
ops ... this is the class.wp.w3all-phpbb.php to replace
-
- User ww
- Posts: 21
- Joined: Wed Jul 12, 2017 12:18 pm
Re: Keeps on logging us out...
Okay, I see, you replaced this piece of code with. We will see if that does anything...
Code: Select all
// last visit update both once
Code: Select all
// last visit update