I've just installed Drupal 5.1 on (for example) mydomain.com currently hosting with Dreamhost. Plus I've created three subdomains for example:

factory.mydomain.com
warehouse.mydomain.com
admin.mydomain.com

Each subdomain has it's own database and the main domain has it's own database. I'd like the main domain to be the master to share users and session information with the subdomains, but I'm having problems find documentation on this.

Any tips would be much appreciated.

Comments

journaltimes’s picture

It is a little buggy though in 5.

you'll have to prefix the tables to share users.

Try this:

http://drupal.org/node/22267
http://drupal.org/node/53705(i see you posted here)
http://drupal.org/node/110756
http://drupal.org/node/14697
http://drupal.org/node/104335
http://drupal.org/node/69199

If you come up with a solid solution, please post.

riki’s picture

Excellent, thanks for your help. I managed to get it working with prefixing the tables. Will follow up these other links.