Yiiboilerplate - Common Createwebapplication Instance

hello

I am using yiiboilerplate structure to keep my apps separate. Since each app has its own instance, I am unable to share the authentication data among each of these apps. Is there a way in which I can have one instance, shared among all the apps ? can I access the controller from one app in another app when the folder structure is using yiiboilerplate. here is my structure

/admin

  • components

  • controller

  • view

  • models

/common

  • components

  • controller

  • view

  • models

/projectapp

  • components

  • controller

  • view

  • models

/demoapp

  • components

  • controller

  • view

  • models

/public_html

  • index.php (bootstrap file)

  • projectapp

    • index.php (bootstrap file)
  • demoapp

    • index.php (bootstrap file)

I want to have one bootstrap file but maintain the above folder structure and share the common instance.

Why?

The whole point of separating a Yii app into a frontend and a backend is - well - to separate them. :)