X-Base Bugtracking

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
000768OpenTTD website[All Projects] Generalpublic2011-12-23 16:402013-07-04 00:22
ReporterxOR 
Assigned Tomyhorta 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product VersionLive version 
Target VersionLive versionFixed in Version 
Summary000768: Prevent shoutbox message to be sent multiple times
DescriptionWhen users have a delay they click the shout button several times, which then leads the message being shown several time.
The button should be disabled while the message is processed - maybe it should even have a cooldown time of 30-60 seconds in general, to prevent users from flooding.
http://dl.dropbox.com/u/21345942/Selection532802953.png [^]
TagsNo tags attached.
SVN revision
Attached Files

- Relationships

-  Notes
User avatar (0000376)
myhorta (developer)
2011-12-24 00:07

I'm not sure (it's hard reproduce principally in a localhost) if it is correct.
The button is disabled in the beginning of function and reactivated in the end after sending everything to the server.
User avatar (0000496)
xOR (administrator)
2012-08-04 00:41

occurrences have decreased but it still happens. i think there is no way around checking whether the user already has submitted a shout within the last 20 seconds and not let him submit a new one in that case. this also has the side-effect of adding a little anti-flood protection.
User avatar (0000520)
myhorta (developer)
2013-07-04 00:22

fixed: r[22]


Copyright © 2000 - 2011 MantisBT Group
Time: 0.0774 seconds.
memory usage: 7,483 KB
Powered by Mantis Bugtracker