title: Session sharing between two CodeIgniter Applications
body: <p>I have 2 codeigniter installs running on the same server.</p>
  
  <p>the first app is :
  localhost/aa/index.php <br/><br/>
  second app is : 
  localhost/aa/invoice/index.php</p>
  
  <p>The second app is in the first app folder. In the live environment, they will be on the same domain. I am trying to get a single sign-on to work -- so, if i have userdata set in the aa application I should be able to verify it in the invoice folder also.</p>
  
  <p>Is there a way to share the sessions. </p>
  
  <p>As the folders will always be on the same domain, I am open to working with sessions outside the ci library(only php) also. </p>
  
  <p><b>Edit : </b>
  They show the same session id when they don't have any data. The moment I add some variables on one application, the other goes out of sync.</p>
  
  <p>Also I have sessions being stored in the database(both applications share the same database.)</p>
  
  <p>Please suggest. </p>
  
  <p>Thanks! : )</p>