Search code examples
sessionkohanakohana-3

Error reading session data when try "Session::instance();" in Kohana


On localhost everything good, but on deploy there is an error "Error reading session data" when I try invoke Session::instance(). Where is my mistake? Maybe it's server problem or Kohana bug?


Solution

  • Can you post your session.php? Have you set your encryption key if you're using the encrypt option? What driver are you using to store the session (file, cookie, database)?