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>
      &#39;default&#39;   =&gt; &#39;site_a_&#39;,<br>      &#39;users&#39;     =&gt; &#39;shared_&#39;,<br>      &#39;sessions&#39;  =&gt; &#39;shared_&#39;,<br>      &#39;role&#39;      =&gt; &#39;shared_&#39;,<br>      &#39;authmap&#39;   =&gt; &#39;shared_&#39;,<br>
    );<br><br>Web site B settings.php<br>
$db_prefix = array(<br>
      &#39;default&#39;   =&gt; &#39;site_b_&#39;,<br>
      &#39;users&#39;     =&gt; &#39;shared_&#39;,<br>
      &#39;sessions&#39;  =&gt; &#39;shared_&#39;,<br>
      &#39;role&#39;      =&gt; &#39;shared_&#39;,<br>
      &#39;authmap&#39;   =&gt; &#39;shared_&#39;,<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">&lt;<a href="mailto:michel@ziobuddalabs.it">michel@ziobuddalabs.it</a>&gt;</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">&gt; Take a look on the settings.php file, there has a information how you<br>
&gt; can share tables between one or more sites. So, you just can share the<br>
&gt; 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 &#39;ZioBudda&#39; 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>