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

XF 1.5 Login issue

=MGN=RedEagle

Well-known member
#1
Hi there,

I am running 2 licensed versions of XF on the same domain, however, when I login to one install it logs me out of the other and vice versa. They are on the same domain:

/forum
/otherforum
 

Brogan

XenForo moderator
Staff member
#2
You need to set a cookie prefix in the library/config.php file for each site:

Code:
$config['cookie'] = array(
'prefix' => 'forum',
'path' => '/',
'domain' => ''
);
Code:
$config['cookie'] = array(
'prefix' => 'otherforum',
'path' => '/',
'domain' => ''
);