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
78 sites
60 downloads
11 fans

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?
Please login to post comments