Problem/Motivation

Currently, the quiz_maker module doesn't differentiate between anonymous users taking quizzes.
This means all anonymous users are treated as the same user, which can lead to conflicts and incorrect data when multiple anonymous users are taking quizzes simultaneously.

Steps to reproduce

- Set up a quiz using the quiz_maker module
- Open the quiz in two different browsers or devices as an anonymous user
- Start taking the quiz on both
- Observe that the progress and responses interfere with each other

Proposed resolution

Implement a system to generate and use unique session IDs for anonymous users. This will allow the module to distinguish between different anonymous quiz takers, ensuring each anonymous user has their own separate quiz session.

Remaining tasks

User interface changes

No visible UI changes. This is a behind-the-scenes improvement.

API changes

Data model changes

Issue fork quiz_maker-3468121

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

fpc_drupal created an issue. See original summary.

fpc_drupal’s picture

Component: Miscellaneous » Code
Issue summary: View changes

r_cheh made their first commit to this issue’s fork.

r_cheh’s picture

Hi! Thanks for the feedback, I will take it to work.

r_cheh’s picture

Version: 1.0.6 » 1.0.7-alpha1
Priority: Normal » Major

  • r_cheh committed 90a10adc on 1.0.x
    Issue #3468121: Add 'Session ID' field to quiz result, allow taking quiz...
r_cheh’s picture

This feature was added in release 1.0.7-alpha2

r_cheh’s picture

Version: 1.0.7-alpha1 » 1.0.7-alpha2
Status: Active » Fixed
r_cheh’s picture

Version: 1.0.7-alpha2 » 1.0.7
Status: Fixed » Closed (fixed)