How To Get Cookie Name And Parse Its Value

Is there a way to get the generated cookie name during login action and parse it’s value?

Edit:


Yii::app()->request->cookies;

gives me all the information including the name inside an object however I’m not sure how to extract just the name from it