Yii Framework Forum: How to store session in DB - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

How to store session in DB I added connectionID as db but still it is taking path for sqlite file Rate Topic: -----

#1 User is offline   sangam angre customer360 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 1
  • Joined: 07-September 15

Posted 07 September 2015 - 10:07 AM

I added connectionID as db but still it is taking path for sqlite file.

Below are config

'session' => array(
'class' => 'CDbHttpSession',
'autoStart' => true,
'connectionID' => 'db_master',
'sessionTableName' => 'cc_session',
'autoCreateSessionTable' => true
),

While creating session I am doing :

$session = new CDbHttpSession();


My site has dynamic sub domains functionality as soon as some one registers.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • This topic is locked

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users