From my config/main.php
'session' => array (
'class' => 'system.web.CDbHttpSession',
'connectionID' => 'db',
'sessionTableName' => 'tbl_user_sessions',
'cookieMode' => 'only',
'cookieParams'=>array(60*60*24*30,'/','',true, true),
'sessionName' => 'shopSession',
),
Cookie settings are not set under ‘cookieParams’
In CHttpSession.php Line 238
public function setCookieParams($value)
{
$data=session_get_cookie_params();
extract($data);
extract($value);
if(isset($httponly))
session_set_cookie_params($lifetime,$path,$domain,$secure,$httponly);
else
session_set_cookie_params($lifetime,$path,$domain,$secure);
}
I came across the following:
From http://us2.php.net/manual/en/function.session-set-cookie-params.php
Further searching came up with this also: