title: Sharing a session between Ruby and PHP
body: <p>Is it possible to share a session between my PHP app on a subdomain and my Ruby apps on my other subdomains?</p>
  
  <p>I don't really know where to take it from here. I know I can manually set the domain to the root one so that the cookie is valid for all the subdomains, but how would I get/set stuff from/to the session so that it's shared across the subdomains?</p>
  
  <p>I mainly want to use this to share login for my whole subdomains.</p>
  
  <p>For the sake of knowledge, if it is the wrong approach to the problem, albeit a doable one, I'd like to understand both how to do it, and why should I not.</p>
  
  <p>Thank you all!</p>