MyBB Community Forums

Full Version: Cookie Issue
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

I have 3 different MyBB running on one domain. Here is the layout of the URL to access the forum.

http://www.example.co.uk/topics

http://de.example.co.uk/topics

http://akr.example.co.uk/topics


Now the first two work fine, I can log in with no issues. They are all integrated with a website that I have which of course is just one index page, when you take out the /topics from the URL.

Why is this happening and how do I fix it?
I don't get the problem?
I attempt to log into http://akr.example.com/topics and it says LOGGING IN, redirecting but then get to the forum page and it clearly shows im not logged in.
are you using different prefixes for the cookies names ? it is required ..
Forum 1 (doesn't login)

Cookie Domain: .akr.example.co.uk
Cookie Path: /akr/
Cookie Prefix: akr

Forum 2 (login works fine)

Cookie Domain: .de.example.co.uk
Cookie Path: /de/
Cookie Prefix: de

Forum 3 (login works fine)

Cookie Domain: example.co.uk
Cookie Path: /
Cookie Prefix: en

Of course I'm using the domain name example.co.uk so I don't give out my real domain name. Smile
The paths of all of them should be /topics/ as that's what the directory is.
You must be wrong, tried that and now I can't login to any of them now.... hmm...

Does anybody here know what the cookies should be? I shall be reverting back to the cookie settings I had before Matt's suggestion.
If the URLs you posted above are correct then no, I'm not wrong, the cookie path would need to be /topics/ on all of them, because that's how the cookies work.