Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello,
When I try to log in to any domain other than my default domain - i.e. http://domain2.com/user instead of http://default-domain.com - I receive an Access Denied message.
Any idea why?
Kind Regards,
Jase
Comments
Comment #1
jweirather CreditAttribution: jweirather commentedYour (logged in) session is stored in a cookie, and cookies cannot be shared across top-level domains (tld's). eg:
topLevelDomain1.com and topLevelDomain2.com cannot share cookies.
sub1.topLevelDomain1.com and sub2.topLevelDomain1.com can share a cookie.
See also: https://www.drupal.org/node/1348784