• Resolved johnfields

    (@johnfields)


    Hello,

    I’m using the external plugin and it’s working perfectly. Have rated it with 5 starts ??

    Recently , I noticed that I can have simultaneous user sessions in my site. If I’m logged in a device and try to login using another device, my user is logged out from the first device. I did a little search and found out by default that wordpress allows simultaneous user sessions, but that’s not happening in my site. Is it something related with this plugin or am I missing a configuration?

    Best regards,
    John

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author tbenyon

    (@tbenyon)

    Hey @johnfields,

    Really sorry for the delay in getting back to you work and home life has been busy – sincere apologies.

    I would be very surprised if the plugin was changing this functionality in anyway because it just uses the authentication hook to either return a user or an error (if they are not authenticated).

    However I am not saying for sure this is the case. I’m going to set some time aside at the weekend to see if I can replicate this. This should be pretty straight forward to see if it is this plugin causing the issue. On my local copy I plan to deactivate the plugin and try and login and then again on a private browser session. I’ll then activate the plugin and try this again.

    If you have time to experiment with this before I do I welcome your feedback ??

    If it is the plugin causing this I will of course delve deeper and find out why this is happening ??

    Thanks John,

    Tom

    Plugin Author tbenyon

    (@tbenyon)

    Hey @johnfields,

    Hope you’re well. I’ve just sat down and run the experiment I mentioned above.

    I cannot replicate the issue you have mentioned. I’ve got a base install and with the plugin active and working using the base WordPress theme and just this plugin installed I can login in both my standard window and an incognito window. I can then continue to navigate in WordPress with both sessions.

    For this reason I believe your issue is not to do with this plugin. For this reason, I’m going to mark this as resolved. However, if you do other tests and you believe this is wrong just message back here with replication steps and I’ll be happy to have a further look. ??

    After thinking I couldn’t I may have been able to replicate – will keep you posted – I’m continuing to look into this.

    Thanks John,

    Tom

    • This reply was modified 4 years, 3 months ago by tbenyon.
    • This reply was modified 4 years, 3 months ago by tbenyon.
    Plugin Author tbenyon

    (@tbenyon)

    Hey @johnfields,

    Spent all morning on this it was a ‘fun’ one :P.

    It turns out WordPress destroys all sessions when a user’s password is updated. Because I was updating the user’s password every time they login, this was always kicking out other sessions.

    I now only update the password if it has changed. The important thing to note is that if the external password has changed then the users sessions will be killed on other browsers which I’m sure you’ll agree is the correct behaviour.

    The change is released as version 1.11.0.

    Please let me know if this has resolved your problem,

    Thanks,

    Tom

    • This reply was modified 4 years, 3 months ago by tbenyon.
    Thread Starter johnfields

    (@johnfields)

    Hi Tom,

    Sorry for the late reply, I was away for the weekend and hadn’t time to test this.

    Thanks for your assistance, it’s really amazing.

    I also agree, it makes sense that the password is changed then the other sessions are killed. I will refresh the plugin to the latest version and will let you know the result ??

    Best regards,
    John

    Thread Starter johnfields

    (@johnfields)

    Hi Tom,

    Sorry once again for the late reply. Have been busy these past few weeks ??
    I’ve updated the plugin to the version 1.11 and tried to login using to different sessions but I still get logged out in one session.

    Best regards,
    John

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Simultaneous user sessions’ is closed to new replies.