I have a e-commerce application and i need to save cart session in DB. I have tried with the conifg as comes here,
'session' => array( 'class' => 'CDbHttpSession', 'autoStart' => false, 'connectionID' => 'db', 'sessionTableName' => 'YiiSession', 'autoCreateSessionTable' => false // for performance reasons ),
table structure is
CREATE TABLE YiiSession ( id CHAR(32) PRIMARY KEY, expire INTEGER, data TEXT ); login session is saving to db successfully but no other sessions saving to table. is my flow is correct? or need to add or modify any area.