• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.4 Logging out when restarting browser

DennisSkov

Active member
#1
Hi,

Since yesterday I've been having this weird problem that XenForo (on my website) signs out when restarting the browser (tested in Chrome and Firefox) even though it's set to remember me.

Do you know if anything can cause this? I enabled caching on my website 3 days ago, but I'm highly doubting that that would be the case.
 

Mike

XenForo developer
Staff member
#3
Cookies are not (necessarily) shared between them. You should force access to one or the other.
 

DennisSkov

Active member
#4
Cookies are not (necessarily) shared between them. You should force access to one or the other.
Ok, thank you, Mike. It just wasn't a problem until yesterday, so I think it's a bit weird if it has something to do with the cookies... But what do I know - I'm not a developer :)

To anyone experiencing the same, I just added this to the .htaccess file:
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://mydomain.com/$1 [R,L]