| Your cookies in both products will need to be set like this as your using subdomains and you will never be logged in if your setting the domain blank since the domains are different and the cookie would be created as forum.brianmahieu.com and that cookie would never be read over gallery.brianmahieu.com
cookie path /
cookie prefix phpbb2mysql
cookie domain .brianmahieu.com |