Need to clear session at start #31

Closed
opened 2015-11-02 16:02:38 -06:00 by mattbk · 1 comment
mattbk commented 2015-11-02 16:02:38 -06:00 (Migrated from github.com)

Close one issues, open several others...

While debugging, I'm getting repeated entries in the database every time I hit index.php?=finish. I think this is because $_SESSION is storing a lot of the data, so if they array is not overwritten, the same data are posted again.

Since it is likely that this application will be used by several participants in succession at the same computer, it is important that $_SESSION be emptied when each participant starts, in case a malfunction occurs and the test is ended prematurely.

Close one issues, open several others... While debugging, I'm getting repeated entries in the database every time I hit `index.php?=finish`. I think this is because `$_SESSION` is storing a lot of the data, so if they array is not overwritten, the same data are posted again. Since it is likely that this application will be used by several participants in succession at the same computer, it is important that $_SESSION be emptied when each participant starts, in case a malfunction occurs and the test is ended prematurely.
mattbk commented 2015-11-03 08:35:29 -06:00 (Migrated from github.com)

Fixed in 1491499d24.

Fixed in https://github.com/mattbk/changeblindness/commit/1491499d247c6810deb9bfcc55e9a735bd998123.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: matt/changeblindness#31
No description provided.