Block concurrent connections quiz access rule
- Moodle 1.9–5.1
- 更新 2026-03-02
Blocks concurrent connections during quiz attempts by binding each attempt to a single device/browser session. Includes teacher management interface with bulk unlock actions, comprehensive audit logging, and export functionality for digital exam scenarios.
Overview
The Block Concurrent Sessions quiz access rule prevents students from accessing the same quiz attempt from multiple devices, browsers, or locations simultaneously. This plugin is essential for maintaining exam integrity in digital assessment environments by ensuring each quiz attempt remains bound to the original device and session.
The Problem
In standard Moodle, students can access their quiz attempts from multiple devices concurrently, which creates opportunities for:
Unauthorized assistance (ghostwriting)
Credential sharing during exams
Compromised exam integrity in high-stakes assessments
How It Works
When a student starts a quiz attempt, the plugin records a secure fingerprint of their session (Moodle session ID, user-agent, and IP address) using SHA-256 hashing. Any subsequent attempt to access the same quiz from a different device, browser, or connection is automatically blocked with a clear message to contact the exam supervisor.
Key Features
Exam Management & Monitoring:
Dedicated management interface accessible from the quiz Results tab
Bulk unlock actions – Allow connection changes for multiple students simultaneously (essential for exam room technical issues)
Advanced filtering – Filter by enrollment status, attempt state, and user groups
Comprehensive audit logging – Every connection change is permanently recorded with timestamp and authorizing user
Export functionality – Export audit data as CSV or Excel for compliance and reporting
Access Control:
Role-based permissions control who can manage connection changes
Separate capability to restrict who can enable/disable the rule in quiz settings
- 5.1.1Moodle 5.0, 5.1