MyBB Community Forums

Full Version: Set cookies for many domains
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm using MyBB v1.8, here is the link:
As you can see, the forum domain is, if you go to you can see that I've made a small separate webpage.

Now, I want to be able to log in on both forum and the webpage at the same time, but I can't get the cookies to work for all of the domains.

In simple words - I want to make another login page on that would set the cookies for both and and I want the login page on forum to set the cookies for both and

I've tried changing the settings to:

Quote:$settings['cookiedomain'] = "";
$settings['cookiepath'] = "/";
$settings['cookieprefix'] = "";

Logging in on forum works, but the ACP gives me "Invalid Admin Session" error once I try to log in.
I hope I've explained it well, any help is appreciated!