The Session Limits does not work any more, tested on Drupal 8-3-5 and Drupal 8-5-3. It was working with Version 8-2-x versions of drupal, however i tested with the 8-3-x branch and the 8-5-x branch and the session limit doesn't work.

Comments

avinash_odal created an issue. See original summary.

avinash_odal’s picture

Issue summary: View changes
michiellucas’s picture

Just tried the module with 8.4.5
did not see any problems, works fine

johnennew’s picture

Status: Active » Postponed (maintainer needs more info)

If anyone can provide any further information on how to reproduce the fault I can look into it.

dimitriskr’s picture

Hey all

I just installed this module in core 8.7.8 in a local dev environment using Docker (if that's relevant)
I configured it (actually left the default settings), dropped all sessions from the table to make sure that it will work. Afterwards, I logged in (I am trying as admin all the time) everything is ok and then I opened a private session of my browser (Firefox dev it is) and it allowed me to login, without any prompts to logout.

Checking the session table, I see different session IDs and timestamps but same hostname. Does the check happen with the hostname thus it allows me to login from 2 different browser sessions in the same computer?

Edit: Module version: 8.x-1.0-beta3
Edit 2: I also tested it before installing it on my setup to simplytest.me, from normal and incognito browser, getting the same results as above

dimitriskr’s picture

Found out that this doesn't work with the admin (uid: 1) user, but with the others it is OK
I will create a new issue about this

ashishdalvi’s picture

Status: Postponed (maintainer needs more info) » Closed (duplicate)
Related issues: +#3094634: Session Limit doesn't work for admin