How to share session variables across Drupal sites?
There are two options to do this


Using session 


Use a single session table for both the site using settings.php set up


Using Cookie


Use same cookie domain for both site and set cookie available in all pages.