1
我只是用數據庫會話與kohana3.2,並設置配置文件:Kohana3會話數據庫:錯誤閱讀時段數據
'database' => array(
'name' => 'session_name',
'encrypted' => TRUE,
'lifetime' => 24 * 3600,
'group' => 'write',
'table' => 'sessions',
'columns' => array(
'session_id' => 'session_id',
'last_active' => 'last_active',
'contents' => 'contents'
),
'gc' => 500,
),
但我得到的錯誤:
Session_Exception [ 1 ]: Error reading session data.SYSPATH\classes\kohana\session.php [ 326 ]
我搜索這個,但未能找到解決方案。是否有人試過數據庫會話?
謝謝!
update:
All application config need to be placed in application/config/session.php,so I am wrong,sorry.Both system and modules config shouldnt be modified.