Skip to content

Session saving #1045

Description

@plegenza

Hello,
I had problem with session saving, after any refresh session_id was regenerated and.. data lost.
I try FileHandler and DatabaseHandler for saveing session - on both that same problem.
What I do wrong?

$this->session = \Config\Services::session();

if(!session_id() || session_id() === '')
{
$this->session->start();
}

var_dump(session_id());

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions