sentinel icon indicating copy to clipboard operation
sentinel copied to clipboard

Prevent Users from getting same Sesstion ID

Open joginder89 opened this issue 4 years ago • 0 comments

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.

joginder89 avatar Feb 12 '21 06:02 joginder89