Quiz access rules: Block concurrent sessions quiz access rule

Maintained by Picture of Vadim DvorovenkoVadim Dvorovenko
This plugin allows students to continue quiz attempt only in the same browser session. Any attempts to open same quiz attampt using another computer, device or browser will be blocked
308 sites
20 fans
Current versions available: 1

Check "Block concurrent connections" in quiz settings. First time student will access quiz attempt, session information (Moodle session, user agent, IP) will be recorded. Then any student attempts to access this quiz attempt from other computer or device or even browser will be blocked.

This is useful to prevent situation when someone helps student to solve quiz by accessing quiz with students username/password from other computer. This is much simplier then set up subnet access rule - if teacher see that student is attempting quiz that means that no one is accessing this quiz attempt at the same time.

In case when student accidentally closes browser or computer breaks during quiz, teacher can use attempt review page to unlock this attempt and allow student to continue quiz attempt on other device.

Any attempts to continue quiz from other device are logged, so teacher can see log to determine if someone tried to cheat.


Screenshot #0
Screenshot #1
Screenshot #2
Screenshot #3


Picture of Vadim Dvorovenko
Vadim Dvorovenko (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of David Mudrák
    Wed, May 25, 2016, 5:23 AM

    Thanks Vadim for sharing another useful plugin with the Moodle community. I agree with Mike that this plugin can significantly increase reliability of online testing with Moodle.

    I have no strong preference on where to redirect the blocked user (and I don't definitely feel like the to decide it smile). Both targets look reasonable to me. Moodle often redirects the user to the course page on errors. But as a user, I would personally prefer to stay in the context where I was. So being redirected to the list of attempts in the quiz makes sense, too.

    In either case, I am happy to approve this plugin now. You are cleared to land, welcome to the Plugins directory!

  • moodleidd
    Wed, Jan 17, 2018, 9:14 PM
    thanks for plugin, i want to ask about ws session ?
  • Picture of Vadim Dvorovenko
    Thu, Jan 18, 2018, 12:25 AM
    I don't understand, what you are talking about. May you describe what are you talking abour?
  • Picture of Taneil Lawton
    Fri, Aug 17, 2018, 3:01 PM
    I like the idea of this plugin. I tested it and it won't let me open up in another browser window or browser. However, the warning says if I close out the initial browser window that I won't be able to complete the test. I went into a quiz and then closed it out with out submitting the answers. It allowed me to go back into the quiz to take it. I really want this to work because I don't want my students looking at the quiz, closing it out and then going back and taking it. Can you help with this? I tested it in Chrome.
  • Picture of Vadim Dvorovenko
    Sun, Aug 19, 2018, 12:21 AM
    Windows closing means that you close all windows of browser, not just one tab or one of multiple browser windows - that'show cookie-based session works, and this plugin depends of this logic. Please use some other restriction in adition to tis plugin - e.g. limit quiz time, or set password that you wikk input yourself
  • Picture of Joseph Liaw
    Fri, Sep 7, 2018, 10:07 AM
    Great plugin! In conjunction with the Safe Exam Browser integration, your plugin makes giving exams on Moodle extremely secure! Thank you!

    One small grammar error--on the English statement that shows up when the rule is turned on, "please" is spelled incorrectly as "plaese"....

    Thank you again for sharing your great plugin with the Moodle community!
  • Picture of Volodymyr Dobrovolskyi
    Tue, Nov 27, 2018, 1:53 PM
    Вітаю. Щиро дякую за Вашу розробку, плагін дуже допомагає при тестуванні з великою кількістю студентів. Скажіть, будь ласка, чи буде підтримка версій 3,5+?
  • Picture of Vadim Dvorovenko
    Wed, Nov 28, 2018, 12:03 AM
    К несчастью, у меня не хватает времени, чтобы проверять плагины на вновь выходящих версиях. Но это не значит, что плагин не будет работать. Вы можете установить текущую версию плагина на 3.5. Если вы отпишитесь, что она у вас работает без ошибок, я отмечу здесь, что она поддерживает и 3.5.
  • Picture of Vadim Dvorovenko
    Wed, Feb 27, 2019, 12:34 AM
    Heather Kevin, this plugins checks for browser sessions. If user closed tab (not entire browser), and then reopened it (for example with undo closed tab button) browser session is the same, so plugin is not blocking it. Maybe you should use safe exam browser to prevent visiting something other than quiz, or check that students close browser after test
  • Picture of Hugo Ribeiro
    Fri, Apr 5, 2019, 9:31 PM
    Hi Vadim.
    Thank you for great work. We've installed it in moodle 3.5, however we get a fatal error once the student is prevent (rightly) from accessing the quiz again instead of another more friendly error message. Perhaps print_error() shouldn't be used?
  • Picture of Maria Pérez
    Tue, Oct 22, 2019, 5:42 PM
    I think that I have found a typo in component: quizaccess_onesession, string: studentinfo. The word «Plaese» is displayed, and maybe it should be «Please».
  • Picture of Vadim Dvorovenko
    Tue, Oct 22, 2019, 6:25 PM
    Maria Pérez, thank you for your attention. I'll fix it as soon as i find free time. Currently you can fix it using local translator
  • Picture of Miguel Moronta
    Sat, Apr 4, 2020, 4:36 AM
    Hello. I would like to know if anyone has tested this plugin in a Moodle 3.8 version? Has anyone had any problems using it on Moodle 3.8?
  • Picture of Helder Pereira
    Fri, Sep 11, 2020, 12:28 AM
    Hello! This plugin does not install in 3.9. Are there any predictions to do it? Thank you.
  • Picture of Jennifer Howard
    Tue, Sep 29, 2020, 2:08 AM
    Hello Vadim, I am also interested to know if you will release a 3.9 version? Many thanks!
1 2
Please login to post comments