MyBB Community Forums

Full Version: [Problem solved] Make cookies set by subdomain available to domain
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Solution to make cookies set by a subdomain available on the domain:
Set the cookie domain to the main domain (eg: .example.com). Note that '.'.

Fiddling with the path did not help me though.

My problem was:
Quote:I have installed MyBB on subdomain.
I need to retrive them on my domain.

How do I do it?
I have tried playing with the my_setcookie() function but no avail.

Any inputs appreciated!

Thank you.

Thank you DCR for being kind and taking the time Smile
I think that, say it was /forum/, you would have to change it to nothing. Try that.