ddrake/kohana_demo — Issue #5: cookie and session problems
Author: sineld
Created: 2012-02-01 18:34:38+00:00
State: open

Hi,

Some errors occurred when I have installed your work.

I added a line like below into bootstrap.php
Cookie::$salt = 'amcadedi';

and
created a file named session.php in config folder including these lines:
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,
),

);

than everything started to work like a charm! :)
Thanks.