Categories Yii Tags cookiesyii To retrieve a cookie with the specified name: $cookie=Yii::app()->request->cookies[$name]; $value=$cookie->value; To send a cookie: $cookie=new CHttpCookie($name,$value); Yii::app()->request->cookies[$name]=$cookie; Share20 Related postsMay 8, 2013SALT implementation in YIIRead more - SALT implementation in YIIJune 18, 2011Enable In-place Editing in Yii GridRead more - Enable In-place Editing in Yii GridJune 8, 2011How to create custom validation ruleRead more - How to create custom validation rule