On my site users have the option of accessing their own personal site through a subdomain like user.domain.com or their own custom domain that they can point to the site like customdomain.com. When you visit their site with the subdomain sessions work fine, but if you visit by customdomain.com, no sessions will save. I suspect that it has something to do with my "session.cookie-domain" settings as I have it set to ".domain.com" so that sessions will carry over from the different subdomains. What can I do to overwrite this so that if a user access the site with the custom domain, sessions will still work? Or could the problem be something else?