TeachmanLab / MT-Java

Repo for parts of MindTrails study sites coded in the Java framework, such as the study assessment pages, menu, and progress pages
https://mindtrails.virginia.edu/calm/public/about
MIT License
7 stars 16 forks source link

Ensure one can't progress separately in two windows #152

Closed jwe4ec closed 5 years ago

jwe4ec commented 6 years ago

On FutureThinking I discovered I could start training scenarios in one window and then log into the site again in another window of the same browser. The second browser took me to the start of the training scenarios rather than to the current scenario I was on in the other window. I was then able to move forward in each window independent from the other window. Could this lead us to collect duplicate data? I'm imagining someone logging into the site, doing some questions, taking care of something off the site for a bit, and then relogging into the site in another window (or on another device). Another possibility may be that people can start a session on one device and continue on independently on another device. This may be a source of multiple, nonduplicated entries. Not sure what the milestone is--definitely before launch.

danfunk commented 6 years ago

I've tried to reproduce this in several ways for R01. With the same browser and multiple tabs, with different browsers (Firefox and Chrome), and attempting to submit the same form twice still results in an error page and duplicate information is not entered into the database.

jwe4ec commented 6 years ago

Thanks, Dan. Did you try multiple devices at once?

danfunk commented 5 years ago

I have tested this. I feel confident it cannot occur.