• Hello!
    I’m using LifterLMS and I set “only 1 IP per user”. But it doesn’t work.
    1 session per user works great. Need your help so much!
    Thanks!

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

    (@pierrelannoy)

    Hello @innisha !
    Sorry to hear that, it seems to be a regression bug with LifterLMS integration (they are not using the standard WordPress mechanism). Could you verify Session is working correctly if you go to /wp-login.php (i.e. limit sessions, ip, etc. when it must do it)? It will help me to identify the issue.

    Thanks.

    Plugin Author Pierre Lannoy

    (@pierrelannoy)

    I’ve just tested with the last version of LifterLMS and Sessions and all is working like a charm. So forget the test I’ve asked you to do… So, it’s probably coming from the settings you choose.

    Are you using “cumulative privileges” or “least privilege” ?

    • This reply was modified 3 years, 12 months ago by Pierre Lannoy.
    • This reply was modified 3 years, 12 months ago by Pierre Lannoy.
    Thread Starter innisha

    (@innisha)

    I’m using “cumulative privileges”

    Plugin Author Pierre Lannoy

    (@pierrelannoy)

    And if you switch to “least privileges”, what happens?

    Thread Starter innisha

    (@innisha)

    Nothing changed unfortunatelly.

    Plugin Author Pierre Lannoy

    (@pierrelannoy)

    OK. That’s strange.

    In the Site Health page of your site, in the “info” tab, you can export (copy to clipboard) your configuration… Could you do it and paste here the configuration of Sessions?
    Thanks

    Thread Starter innisha

    (@innisha)

    I hope this is what you asked me to do ?? Thank you so much for your help!

    Plugin diagnostic information

    [Site Option] version 2.2.0
    [Site Option] use_cdn 0
    [Site Option] download_favicons 0
    [Site Option] script_in_footer 0
    [Site Option] display_nag 0
    [Site Option] analytics 1
    [Site Option] forceip 1
    [Site Option] followip 1
    [Site Option] history 30
    [Site Option] rolemode 1
    [Site Option] zk_cycle 90
    [Site Option] zk_tsize 20
    [Site Option] zk_semaphore 300
    [Site Option] buffer_limit 4000
    [Site Option] administrator:limit none
    [Site Option] administrator:maxip 0
    [Site Option] administrator:method block
    [Site Option] administrator:idle 0
    [Site Option] administrator:block none
    [Site Option] administrator:cookie-ttl 48
    [Site Option] administrator:cookie-rttl 336
    [Site Option] editor:limit none
    [Site Option] editor:maxip 0
    [Site Option] editor:method block
    [Site Option] editor:idle 0
    [Site Option] editor:block none
    [Site Option] editor:cookie-ttl 48
    [Site Option] editor:cookie-rttl 336
    [Site Option] author:limit none
    [Site Option] author:maxip 0
    [Site Option] author:method block
    [Site Option] author:idle 0
    [Site Option] author:block none
    [Site Option] author:cookie-ttl 48
    [Site Option] author:cookie-rttl 336
    [Site Option] contributor:limit none
    [Site Option] contributor:maxip 0
    [Site Option] contributor:method block
    [Site Option] contributor:idle 0
    [Site Option] contributor:block none
    [Site Option] contributor:cookie-ttl 48
    [Site Option] contributor:cookie-rttl 336
    [Site Option] subscriber:limit user-1
    [Site Option] subscriber:maxip 1
    [Site Option] subscriber:method block
    [Site Option] subscriber:idle 0
    [Site Option] subscriber:block none
    [Site Option] subscriber:cookie-ttl 48
    [Site Option] subscriber:cookie-rttl 336
    [Site Option] customer:limit none
    [Site Option] customer:maxip 0
    [Site Option] customer:method block
    [Site Option] customer:idle 0
    [Site Option] customer:block none
    [Site Option] customer:cookie-ttl 48
    [Site Option] customer:cookie-rttl 336
    [Site Option] shop_manager:limit none
    [Site Option] shop_manager:maxip 0
    [Site Option] shop_manager:method block
    [Site Option] shop_manager:idle 0
    [Site Option] shop_manager:block none
    [Site Option] shop_manager:cookie-ttl 48
    [Site Option] shop_manager:cookie-rttl 336
    [Site Option] lms_manager:limit none
    [Site Option] lms_manager:maxip 0
    [Site Option] lms_manager:method block
    [Site Option] lms_manager:idle 0
    [Site Option] lms_manager:block none
    [Site Option] lms_manager:cookie-ttl 48
    [Site Option] lms_manager:cookie-rttl 336
    [Site Option] instructor:limit none
    [Site Option] instructor:maxip 0
    [Site Option] instructor:method block
    [Site Option] instructor:idle 0
    [Site Option] instructor:block none
    [Site Option] instructor:cookie-ttl 48
    [Site Option] instructor:cookie-rttl 336
    [Site Option] instructors_assistant:limit none
    [Site Option] instructors_assistant:maxip 0
    [Site Option] instructors_assistant:method block
    [Site Option] instructors_assistant:idle 0
    [Site Option] instructors_assistant:block none
    [Site Option] instructors_assistant:cookie-ttl 48
    [Site Option] instructors_assistant:cookie-rttl 336
    [Site Option] student:limit user-1
    [Site Option] student:maxip 1
    [Site Option] student:method block
    [Site Option] student:idle 0
    [Site Option] student:block none
    [Site Option] student:cookie-ttl 48
    [Site Option] student:cookie-rttl 336
    [Site Option] translator:limit none
    [Site Option] translator:maxip 0
    [Site Option] translator:method block
    [Site Option] translator:idle 0
    [Site Option] translator:block none
    [Site Option] translator:cookie-ttl 48
    [Site Option] translator:cookie-rttl 336

    Plugin Author Pierre Lannoy

    (@pierrelannoy)

    Yes, it is exactly what I was asking for ??

    I’ve replicated your configuration on a test server, assuming:
    – it is for “student” role you’re having problem
    – the login form used is the one added by LifterLMS shortcode (I’ve tried with the standard WP login form too)

    what is strange is it is working correctly on my test site.

    So, i don’t know where the problem come from, but I’m very curious about it… Do you use some special login form ? Or a SSO solution ?

    Thread Starter innisha

    (@innisha)

    No I don’t use anything spetial.
    I’m only starting to make my course so I only have pages made by Lifter.
    I add a new student in Users, create a password for him. Then I go to the Lifter page, enter the email and password, and enter the account.
    I do the same from another device to check if this student will be blocked to enter. But it is not.
    Maybe I do something wrong? I’m new to all this so I’m sure I do ??

    Plugin Author Pierre Lannoy

    (@pierrelannoy)

    I don’t think so… It’s probably my plugin who do something wrong… ??

    If you go in “PerfOps Tools” > “Sessions”, you can see these eroneous sessions?

    Thread Starter innisha

    (@innisha)

    I only see there “Active Sessions Management”. When I enter account with that student he also appears there. When I log out he disappears.

    Plugin Author Pierre Lannoy

    (@pierrelannoy)

    What I want to said, sorry if I was unclear, is: if you (as an admin) open this screen when your student have 2 opened sessions with different IPs (which is not what you want), what do you see?

    Thread Starter innisha

    (@innisha)

    Something happend though I didn’t change settings:)
    I enter account on one device and see it in Active Sessions. then I try to log in on the second device and it shows me message from Lifter : “Could not find an account with the supplied email address and password combination”. And in Active Sessions I still see only first device.
    Then I logged out the first device, entered account on the second which appeared in Active Sessions. But I couldn’t enter on the first device with the same message from Lifter : “Could not find an account with the supplied email address and password combination”.
    Yesterday when I tried to do the same, there was a message in a new page that concurrent sessions aren’t allowed.

    Plugin Author Pierre Lannoy

    (@pierrelannoy)

    Well, that’s definitely confusing. It’s like another plugin or settings try to do thinks on login process.

    Could you do tests with the standard connexion form (not the one provided by Lifter) and tell me what you see in the “Active Sessions Management” page?

    Thread Starter innisha

    (@innisha)

    This is what I did.
    I went to the page /wp-login.php on first device and logged in. In the Active Sessions I saw this information. Then I did the same on another device, I saw the message “FORBIDDEN: You’re not allowed to initiate a new session because your maximum number of active sessions has been reached”. But nothing chaged In the Active Sessions.
    I thried the same with Lifter login page. The situation is the same.

    Is that what you asked me to do, did I understand you right?

    I also tried to change settings from “Enabled – Least privileges” to “Enabled – Cumulative privileges” but nothing changed.

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘1 IP per user’ is closed to new replies.