kohana_demo icon indicating copy to clipboard operation
kohana_demo copied to clipboard

cookie and session problems

Open sineld opened this issue 14 years ago • 2 comments

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.

sineld avatar Feb 01 '12 18:02 sineld

Hi sineld,

Sorry for the slow response. I haven't encountered the issues you were having on the servers I've tested on. Maybe your server doesn't support native session storage, which this demo application uses. Your comments may be helpful for others so I'll leave this issue open.

Thanks!

ddrake avatar Apr 25 '12 17:04 ddrake

Hey Ddrake, i have installed this demo but im having an issues the application says ErrorException [ Recoverable Error ]: Object of class View_Pages_Album_List could not be converted to string where do i start?

youngpac avatar Dec 09 '13 12:12 youngpac