Yii Single Sign On

Hi. I am newbie in Yii framework.

I would like to know with Single Sign-On ( SSO )

Example:

I had developed 2 web application like yii app and non-yii.

  • test.php // simple login authentication php page and non-yii application

  • localhost/onlinetest // yii application

when I login user authen to "test.php" , I will auto login to "localhost/onlinetest"

and when I logout somewhere in 2 domains . It’s logout 2 domains.

any one can help me. sorry for my english. Thank You.