Limit number of users logged in moodle.

Limit number of users logged in moodle.

by Renato Jr -
Number of replies: 2
Hello.

I would like to limit the number of users logged in simultaneously on moodle. The main objective is to avoid overloading in our server, and also allow users who are already logged in to continue doing their lessons normally.

Is there anything like this in moodle?

Thanks,
Renato
Average of ratings: -
In reply to Renato Jr

Re: Limit number of users logged in moodle.

by daniel nieto -

Hi All,

I am looking for the same answer. Renato.. it has passed a lot of time since your question,, did you find the answer?

thanks so much,

daniel N

In reply to daniel nieto

Re: Limit number of users logged in moodle.

by Matteo Scaramuccia -
Picture of Core developers Picture of Peer reviewers Picture of Plugin developers

Hi,

AFAIK it requires a (quite simple) core hack in lib/moodlelib.php::authenticate_user_login(): it could be also a value added core feature using some configurable parameters e.g. enabled, threshold, time window used to count logged in users.

Matteo