Hello,
I have a multi-site installation with shared source and indiviual databases for 20+ different sites.
Setup environment is Windows 2003 Server, Apache 2.2, PHP 5.1.6, MySQL 5, etc...
Drupal 4.7.3 installed at C:\drupal folder.
File structure is;
C:\Drupal
C:\Drupal\sites\8080.sub.domain.com.sitename1
C:\Drupal\sites\8080.sub.domain.com.sitename2
C:\Drupal\sites\8080.sub.domain.com.sitename3
...
Each site folder has a (almost identical) "settings.php" and a "files" folder. (I want to keep each sites' files seperate.)
I created standard users for each site (same login name and password).
All the sites use the same source, different databases, some common settings from settings.php
The problem is, since each site has its own database, why once I logged in to one of them I can not login to another one.
Somehow sessions/cookies are shared. Logged in user kicks out other site's logged in user.
Of course this happens when you open the sites in same brand browser windows.
What's causing this? Any idea?
p.s. I don't use clean URLs.
Here's the sample code for settings.php:
<?php
$db_url = 'mysql://username:password@localhost/databasename'; //always lowercase!
$db_prefix = 'prefix_';
$base_url = 'http://sub.domain.com:8080/CLIENTNAME'; // NO trailing slash!
ini_set('arg_separator.output', '&');