Drkphnx7That's absolutely correct, I didn't even think about such case, because I thought every programmer integrating with miniBB should know about it
by default ;-) If you read the
integration guide carefully, it says:
...the domain name which cookie should be recognized from; for example it may be www.cookiedomain.com (meaning it will work only for 'www' domain) or .cookiedomain.com (meaning it will work from any sub-domain as well). Cookie may be read only from the same domain it is set.Well I also put there a note that domains without 'www' and with 'www' are different things. Your solution with 301 redirect is also correct in that case.