some of our users are being logged off from XenForo sometimes when they browse our forum, although the repeatedly clicked "stay logged in". For example when they open a new window with a right click.
What Steve F means do www.yoursite.com and yoursite.com separately exist, or does one redirect to the other (e.g. www.yoursite.com redirects to yoursite.com or vice versa)?
If they separately exist (and I suspect this is the case) then you need to decide which one you want to use (either the www or non-www one) and set it so that the one you don't use redirects to the other one. See point 19 of the FAQ on how to do this.
I am using the www.yoursite.com, which is configured in XenForo. There is also a webserver configuration for yoursite.com which leads to the following htacces file =>
Code:
RewriteEngine On
RewriteRule ^(.*)$ http://www.yoursite.com/$1 [R=301,L]
RewriteRule .+ http://www.yoursite.com/ [R=301,L]