3 ms·
The problem is that localStorage never gets cleared on its own. So you could have a situation where a hint persists from the last user using the computer (or la
by emerongi 11y ago
The problem is that localStorage never gets cleared on its own. So you could have a situation where a hint persists from the last user using the computer (or last session in general), effectively sabotaging the current user's answer(s). An edge case, but possible. SessionStorage would be more suited here.
- jand 11y agoTo my understanding they do not store the hints. They maintain a request log to enable retransmission of requests made during a offline period. So the hint-thing should not be a thing. On the other hand: The request log requires a user identification method as part of the requests to avoid crediting a "hint-taken" request to the next user in your scenario.