Esri / crowdsource-reporter

An ArcGIS Online group application template authored by organization and made available to constituents to report a problem or observation.
http://solutions.arcgis.com/local-government/help/crowdsource-reporter/
Apache License 2.0
25 stars 32 forks source link

add a mechanism to slow down/eliminate repeat requests #359

Open allisonmuise opened 6 years ago

allisonmuise commented 6 years ago

Visalia, CA

One of the team’s requests was to have it natively allow IP filtering of responses to limit duplicate responses. As you and I discussed, that just isn’t feasible for the majority of the use case of those using crowdsource reporter.

Upon following up with my team after the UC, the question was raised of what if the application natively could limit responses based upon a cookie and that you can’t report again until you either delete the cookie or the cookie expires?

Per conversation with Mike - investigate timeout/cookies as a configurable option that would disable to Submit button temporarily.

allisonmuise commented 6 years ago

from Mike: https://developer.mozilla.org/en-US/docs/Web/HTTP/Cookies

Apparently, you can set a relative time for the expiration of permanent (i.e., lasting past refresh) cookies.

May have to deal with this: In short the EU directive means that before somebody can store or retrieve any information from a computer, mobile phone or other device, the user must give informed consent to do so. Many websites have added banners (AKA "cookie banners") since then to inform the user about the use of cookies. For more, see this Wikipedia section and consult state laws for the latest and most accurate information.