title: Share session between two domains which are using the same source code
body: <p>I have two domains which are pointed to the same rails application in a server. I logged in as a <strong><code>#User1</code></strong> via domain1 and the same session should be used by the domain2 in the same browser. But, I don't know how to do this?</p>
  
  <p>I got the below <strong>#SE</strong> link, which is describing the session sharing between two apps. In my case I want to share the session app it self. Pls help.</p>
  
  <p><a href="https://stackoverflow.com/questions/15146716/share-a-session-between-two-web-applications-in-device">Share a session between two web applications in device</a></p>