Remove Of Cookies Not Working

Hi

I set a cookie by below code


    $cook = new CHttpCookie('test', 1);

    $cook->path = '/'; //either using that or not

    Yii::app()->request->cookies['test'] = $cook;

But the below code not removing the cookies!


    Yii::app()->request->cookies->remove('test');

    unset(Yii::app()->request->cookies['test']); //either using that or not

The only function that seems works is the


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

But desrtoy all the cookies

How to solve this?

Thanks