Quiz access rules: Block concurrent sessions quiz access rule

quizaccess_onesession
Maintained by Picture of Vadim Dvorovenko Vadim 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
89 sites
59 downloads
11 fans
Moodle 2.7, 2.8, 2.9, 3.0, 3.1, 3.2, 3.3, 3.4

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.

Screenshots

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

Contributors

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 Mike Churchward
    Tue, 17 May 2016, 10:06 PM
    Hi Vadim.
    I am reviewing your plugin submission for the Plugins Guardians.
    Note there were a few coding standard issues identified above which would be good to fix if you can.
    I tested the plugin thoroughly, and it does what it is supposed to do very well. I think there will be many organizations interested in this.
    The code is very well written and structured well.
    One suggestion, when a user accesses a quiz that is already open in another session, the "Continue" button redisplays the same page. It would be good if the "Continue" button took the user back to the course display instead. Not critical, but might make the user experience better.
    Thanks for your submission!
  • Picture of Vadim Dvorovenko
    Wed, 18 May 2016, 12:04 AM
    I currently do not have certain opinion of where to redirect blocked user. I was thinking about returning to course, but decided to return user to attempts list. As far as user has came to error from the list of old attempts (/quiz/view.php), user is returned there. Let's ask David and decide it by a simple majority.
    Codechecker problems are all solved on github, i'll post new version, as far as we decide with redirect.
  • Picture of David Mudrák
    Wed, 25 May 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, 17 Jan 2018, 9:14 PM
    thanks for plugin, i want to ask about ws session ?
  • Picture of Vadim Dvorovenko
    Thu, 18 Jan 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, 17 Aug 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, 19 Aug 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, 7 Sep 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, 27 Nov 2018, 1:53 PM
    Вітаю. Щиро дякую за Вашу розробку, плагін дуже допомагає при тестуванні з великою кількістю студентів. Скажіть, будь ласка, чи буде підтримка версій 3,5+?
  • Picture of Vadim Dvorovenko
    Wed, 28 Nov 2018, 12:03 AM
    К несчастью, у меня не хватает времени, чтобы проверять плагины на вновь выходящих версиях. Но это не значит, что плагин не будет работать. Вы можете установить текущую версию плагина на 3.5. Если вы отпишитесь, что она у вас работает без ошибок, я отмечу здесь, что она поддерживает и 3.5.

Commenting temporarily disabled