2 Codeigniter installs sharing same session
===

I have 2 codeigniter installs running on the same server.

the first app is :
localhost/aa/index.php <br/><br/>
second app is : 
localhost/aa/invoice/index.php

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.

Is there a way to share the sessions. 

As the folders will always be on the same domain, I am open to working with sessions outside the ci library(only php) also. 

Please suggest. 

Thanks! : )


