Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

studySessionData not updating

edited July 2022 in JATOS

I set up an experiment on an AWS EC2 instance using Apache. The experiment works fine on my local computer but for some reason, `jatos.studySessionData` does not work properly when running on the server. I imported the study on the Cortex tryout server to test whether the problem was in my code but it works fine there too.

What I've identified so far is that the `jatos.studySessionData` object is instantiated and contains all the variables I put in it (this happens in Component 3). After Component 3, the study moves to Component 4 and the `jatos.studySessionData` object is fine. Component 4 modifies it and then the study moves to Component 6. There again, the `jatos.studySessionData` object is as it is supposed to be (some changes are done here as well and they work fine). It is only once the study moves back to Component 4, by calling `jatos.startComponentByPos(4, data)` that the `jatos.studySessionData` object reverts back to what it was when Component 4 was first run. I have no idea what the problem is. My .conf file is very similar to the template one found on JATOS' website.

I appreciate the help!

Solim

Comments

Sign In or Register to comment.