MyBB Community Forums

Full Version: ACP logs out randomly
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Since a few weeks, my ACP logs out randomly after a while. 
Sometimes after a save of a template, but also when I haven't been active for a few minutes.

It is in different browsers, have deleted cookies and all. 

I tried all the steps named here: 
https://community.mybb.com/thread-126359.html

Have tried settings: 

cookiedomain:   .forum.factcheckerz
cookie path:       /

cookiedomain:   .factcheckerz
cookie path:       /

cookiedomain:   .forum.factcheckerz
cookie path:       /factcheckerz/   (could not login and out anymore)


And my cookie settings are like adviced here: https://www.dennistt.net/mybb/cookiesettings.php

Settings are:

[attachment=43108]



Hope you can help me.
Try:

cookiedomain:  .factcheckerz
cookie path:      /forum/

I'd hard refresh my browser afterwards too.  But might be optional in this case.

cheers...
(2020-07-29, 05:05 PM)nixer55 Wrote: [ -> ]Try:

cookiedomain:  .factcheckerz
cookie path:      /forum/

I'd hard refresh my browser afterwards too.  But might be optional in this case.

cheers...

Tried and not working, cannot login anymore. Authorization code error
it is normal for the admin cp to log you out if you haven't been active in it in a while, for security reasons.
Taking your board url from your screen shot, which appears to be - https://forum.factcheckerz.com/ - and using the cookie tool - https://docs.mybb.com/tools/cookie-settings - we get:

Cookie Domain:
.forum.factcheckerz.com

Cookie Path:
/

Secure Cookie Flag:
Yes

Which I believe you've tried.  If that doesn't work, something else is wrong and support will probably have to check.

cheers...
(2020-07-29, 10:45 PM)andrewjs18 Wrote: [ -> ]it is normal for the admin cp to log you out if you haven't been active in it in a while, for security reasons.


Thank you, but it also does it when I am using it. 
Can it perhaps be the reason if I have several windows open and I am using one? 

So it logs out because of inactive other windows?

(2020-07-29, 11:46 PM)nixer55 Wrote: [ -> ]Taking your board url from your screen shot, which appears to be - https://forum.factcheckerz.com/ - and using the cookie tool - https://docs.mybb.com/tools/cookie-settings - we get:

Cookie Domain:
.forum.factcheckerz.com

Cookie Path:
/

Secure Cookie Flag:
Yes

Which I believe you've tried.  If that doesn't work, something else is wrong and support will probably have to check.

cheers...


Yes tried this, thanks
(2020-07-30, 09:32 AM)Jopie Wrote: [ -> ]Yes tried this, thanks

I'd change it back regardless - by editing /inc/settings.php first if necessary.  Then the ACP site details to make it permanent.  Sorry for giving you bad info in my first post.  Afraid I read too quickly, and didn't confirm the actual board url.  You have a subdomain - not a subdirectory. Confused
(2020-07-30, 11:40 AM)nixer55 Wrote: [ -> ]
(2020-07-30, 09:32 AM)Jopie Wrote: [ -> ]Yes tried this, thanks

I'd change it back regardless - by editing /inc/settings.php first if necessary.  Then the ACP site details to make it permanent.  Sorry for giving you bad info in my first post.  Afraid I read too quickly, and didn't confirm the actual board url.  You have a subdomain - not a subdirectory. Confused


Well I have these settings already. And used this way. It seems that my thought was right... 
I like to open several windows for working in ACP. Now I tried to work from one... and now it is not logging out.

Seems like the other windows that I was not using, were inactive and logged me out. Will continue testing, but for now this is the solution
Multiple ACP sessions gets back to @andrewjs18's post.  If one goes inactive - out you go.  Just like logging off in one tab or window and going back to another.

Glad it's sorted...
(2020-07-30, 12:04 PM)nixer55 Wrote: [ -> ]Multiple ACP sessions gets back to @andrewjs18's post.  If one goes inactive - out you go.  Just like logging off in one tab or window and going back to another.

Glad it's sorted...

Me too! Thanks a lot for your help!

###############EDIT###############

Too bad it did not help. 
If I work from one tab even, I will get randomly logouts even when I am active. 
For the rest the site works super!

See post ^^

Hope you can still help me