Using the settings.php shared behavior your sites should be inside the same db/server using a differents prefix and the user/sessions table using the same prefix. A example:<br>Web site A settings.php<br>$db_prefix = array(<br>
'default' => 'site_a_',<br> 'users' => 'shared_',<br> 'sessions' => 'shared_',<br> 'role' => 'shared_',<br> 'authmap' => 'shared_',<br>
);<br><br>Web site B settings.php<br>
$db_prefix = array(<br>
'default' => 'site_b_',<br>
'users' => 'shared_',<br>
'sessions' => 'shared_',<br>
'role' => 'shared_',<br>
'authmap' => 'shared_',<br>
);<br><br>Using diferents servers and dbs, maybe you should think about another authentication type, something based on directories. Write your own authentication module is always a option.<br><br clear="all">Att, <br>
<br>Pablo Lacerda de Miranda<br>Analista de Sistemas<br>Pontifícia Universidade Católica de São Paulo<br><a href="mailto:pablolmiranda@gmail.com">pablolmiranda@gmail.com</a><br>+55 11 8701-1086<br>
<br><br><div class="gmail_quote">On Fri, Jul 30, 2010 at 5:08 PM, Michel Morelli <span dir="ltr"><<a href="mailto:michel@ziobuddalabs.it">michel@ziobuddalabs.it</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Pablo L. de Miranda ha scritto:<br>
<div class="im">> Take a look on the settings.php file, there has a information how you<br>
> can share tables between one or more sites. So, you just can share the<br>
> user and sessions table between your sites..<br>
</div>Two different db/server ???<br>
Ah, thanks.<br>
<div><div></div><div class="h5"><br>
M.<br>
<br>
<br>
<br>
--<br>
Michel 'ZioBudda' Morelli <a href="mailto:michel@ziobuddalabs.it">michel@ziobuddalabs.it</a><br>
Sviluppo applicazioni CMS DRUPAL e web dinamiche (LAMP+Ajax)<br>
Telefono: 0200619074<br>
Telefono Cell: +39-3939890025 -- Fax: +39-0291390660<br>
<br>
<a href="http://www.ziobudda.net" target="_blank">http://www.ziobudda.net</a> ICQ: 58351764<br>
<a href="http://www.ziobuddalabs.it" target="_blank">http://www.ziobuddalabs.it</a> Skype: zio_budda<br>
<a href="http://www.ziodrupal.net" target="_blank">http://www.ziodrupal.net</a> MSN: <a href="mailto:michel@ziobuddalabs.it">michel@ziobuddalabs.it</a><br>
JABBER: <a href="mailto:michel@ziobuddalabs.it">michel@ziobuddalabs.it</a><br>
<br>
--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br>
</div></div></blockquote></div><br>