Session Not Clear After Timeout

I am trying to track records visits by sessions, but the problem the session is not expire after the timeout!

main.php





        'session' =>  array(

                    'class' => 'CHttpSession',

                    'cookieParams' => array('domain' => '.' . "yii.local", 'lifetime' => 1 ),

                    'timeout' => 1,

                ),



in the view


Yii::app()->session[$model->id] = $model->id;

THX