title: Single sign on with different domain using $cookie_domain in Drupal without using modules?
body: <p>Drupal: </p>
  
  <p>single log-in must be on the same domain. For example:</p>
  
  <pre><code>dev1.example.com
  dev2.example.com
  
  $cookie_domain = '.example.com';
  </code></pre>
  
  <p>Now the above sites getting sinle sign on . works good .</p>
  
  <p>But in my case I Have ,</p>
  
  <pre><code>dev1.needthings.com
  dev2.example.com
  </code></pre>
  
  <p>Now , can i able to achieve the single sign on with using <strong>$cookie_domain</strong>?</p>
  
  <p>Note: 
       $cookie_domain which is available in settings.php in drupal 
  Pls help..
  Thanks in  Advance...</p>