Skip to content
This repository has been archived by the owner. It is now read-only.

Player score reset #1

Closed
sporksmith opened this issue Jul 6, 2013 · 2 comments
Closed

Player score reset #1

sporksmith opened this issue Jul 6, 2013 · 2 comments

Comments

@sporksmith
Copy link
Owner

sporksmith commented Jul 6, 2013

Twice when running the game, the player data was reset. This caused all calls to drop (since the Tropo sessionid's for the live calls were no longer in our database), and player scores to reset.

@sporksmith
Copy link
Owner Author

sporksmith commented Jul 6, 2013

After reviewing the server logs, it appears the player data was manually reset through the dashboard page. (i.e., posting to dance_ave/dash). I suspect this was done by accidentally re-POSTing after a reset by refreshing the dashboard page to see the updated player scores. While the browser should (and probably did) warn about re-POSTing data, the consequences may not have been clear.

To avoid this, we should use the Post-Redirect-Get pattern.

@sporksmith
Copy link
Owner Author

sporksmith commented Jul 6, 2013

We now use the Post-Redirect-Get pattern to avoid this (commit 28a9891)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant