Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent Users from getting same Sesstion ID #549

Open
joginder89 opened this issue Feb 12, 2021 · 0 comments
Open

Prevent Users from getting same Sesstion ID #549

joginder89 opened this issue Feb 12, 2021 · 0 comments

Comments

@joginder89
Copy link

joginder89 commented Feb 12, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant