• Resolved Jeff Sherk

    (@jsherk)


    So I would like to limit users to 1 session only, however I noticed that if I close the browser without logging out, I can not log back in again because the session is still active.

    Is there any solution or way around this type of scenario?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Pierre Lannoy

    (@pierrelannoy)

    Yes: killing iddle sessions.

    Thread Starter Jeff Sherk

    (@jsherk)

    So my solution (not perfect but sufficient) is to set:
    – only 1 ip address allowed
    – 2 active sessions allowed
    – terminate idle sessions after 15 minutes

    This allows the person that closes their browser without logging out, to log back in again from same computer, and worst case is they have to wait 15 minutes to get on on with another device.

    I suppose there is not way to force logout when browser closes? Will investigate javascript solution.

    Thanks

    Plugin Author Pierre Lannoy

    (@pierrelannoy)

    Great!

    If you want to force logout when page is closing you need, effectively, do it via JS. But you will face drawbacks like number of tabs opened in the browser 😉

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Allow only 1 session but locked out if close browser’ is closed to new replies.