Skip to content

Prevent Users from getting same Sesstion ID #549

@joginder89

Description

@joginder89

Your Environment

  • OS and Version: Ubuntu 16.04
  • PHP Version: 7.0
  • Sentinel Version: ^2.0
  • Laravel: 5.4.21

There are 2 users on same IP. Both users login and receive same session id like HponiRbO4VTZlfbyOSHOt7RnGmlBVhlMkUd9VDmS
Both users try to logout and login again, then again get same session id. I am using nginx php-fpm cache but has skipped for /admin routes.

I do not know is it nginx php-fpm cache problem or Sentinel problem or Laravel Problem or PHP problem or anything else.
How can I solve it or debug it ?

How the sesstion id is created for user when any user signin ?

I am using Sentinel::authenticate($request->only(['email', 'password']), true) for login user.

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