Session disabled, but cookie created

Hello. I’m new to yii, and I’m trying to disable the PHPSESSID cookie in my project. But despite of configure it to do so, the systems shows that the cookies is being created. Am I missing something to configure apart from ‘main.php’?


		'session' => array (

		    'autoStart' => false,

		    'cookieMode' => 'only',

		),

img826.imageshack.us/img826/9403/phpcookie.png

(sorry for this, but it seems I don’t have enough experience in the forum to embed an image :P)

I made these changes to my main.php file in the components section to disable cookies completely.

You might not need both, but definitely set cookieMode => none, to stop Yii from creating cookies.


                'user'=>array(

                    'allowAutoLogin'=>false, // cookie login

                ),

                'session' => array (

                    'autoStart' => false,

                    'cookieMode' => 'none',

                ),