I just set the cookieMode to 'none', because of testing purposes. I want to set it to 'allow' when the application is in production mode.
'session' => array( 'class' => 'CDbHttpSession', 'autoStart' => false, 'connectionID' => 'db', 'sessionTableName' => 'session', 'autoCreateSessionTable' => false, 'cookieMode' => 'none', ),
Please let me know if I need to share more code snippts.. I don't really know which parts are relevant.