what I am saying with your domain blank and someone say logs into your forum
http://trudaily.com
Your gallery is installed here
http://www.trudaily.com/gallery
So the cookie will drop because it is trudaily.com not
www.trudaily.com thus coding the domain in both cookies to .trudaily.com makes the cookie work on every subdomain.