Over domain cookie settings not working.

Hay Yii Guys,

I am working with the cookies, my problem is that i am trying to set the cookie ( e.g., user log in ) globally where all the cookies set for *.domain.com ( all sub domains) not only for the root domain domain.com.

I have tried the following solution but it’s not working to me.

http://www.yiiframework.com/forum/index.php?/topic/7861-sessions-and-subdomains4

If you have the better solution, it will be a great favor too me.

Thanks

Sag-e-Attar