Skip to content

"Cannot call session save handler in a recursive manner" #2056

Description

@Martin-4Spaces

Screenshot_2019-06-14_at_09_23_07_png

Happens sometimes. Cannot give you a step-by-step guide to reproduce.
This was also a problem in CodeIgniter 3. Check bcit-ci/CodeIgniter#5545

I think the issue os that filesize($this->filePath . $sessionID) in FileHandler::read is returning a cached size. Check https://stackoverflow.com/questions/3747982/php-filesize-reporting-old-size

Adding clearstatcache() before filesize should fix the issue.

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