Skip to content

session id validation when using php7.1 #371

Description

@HunterXuan

Regex: /^[0-9a-f]{40}$/ is not working correctly when using php 7.1. According to php manual (http://php.net/manual/en/session.configuration.php#ini.session.sid-length), these values should be set as follow
session.sid_length = 40
session.sid_bits_per_character = 4

In my case, session file regenerated for every request, when FileHandler was used as session driver, and
session.sid_length = 32
session.sid_bits_per_character = 5

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