Millisecond Forums

restarting after abort

https://forums.millisecond.com/Topic19232.aspx

By sdubrow - 6/9/2016

Hello,

I have had a couple web participants producing multiple logs of the same script (e.g., multiple consent form data files), which I assume means they restarted the experiment after the script aborted. It seems that when the script aborts, people can still press that start button again to restart it (correct me if I'm wrong). Do you know of anyway to prevent this? For example, is there any way to have the script check the web database for whether a subject id has already been run?

As always, thanks for advising!
Sarah
By Dave - 6/10/2016

> It seems that when the script aborts, people can still press that start button again to restart it (correct me if I'm wrong).

Yes, that is correct. People can restart the experiment via the launch page's start button.

> Do you know of anyway to prevent this? For example, is there any way to have the script check the web database for whether a subject id
> has already been run?

No, I'm afraid that is not currently possible (and I cannot think of any other way either). Even if it were possible to check the subject id, a participant could still "try again" after an abort by opening the launch page again in a different browser window or refreshing it (thus generating a new subject id).