|
|
Joined: Aug 2006
Posts: 1,649 Likes: 1
Pooh-Bah
|
Pooh-Bah
Joined: Aug 2006
Posts: 1,649 Likes: 1 |
I just realized something... shouldn't the Flood Check (mine's set at 10 seconds) prevent accidental double-postings? I'm only asking because apparently it doesn't. Or is the nature of double-postings themselves outside the scope of the software (if that makes sense)?
Last edited by Rick; 11/22/2006 6:34 PM.
GangsterBB.NET (Ver. 7.6.1.1) PHP Version 5.6.40 / MySQL 5.7.23-23 (was 5.6.41-84.1) / Apache 2.4.54 2007 Content Rulez Contest - Hon Mention UBB.classic 6.7.2 - RIP
|
|
|
|
Joined: Jun 2006
Posts: 9,242 Likes: 1
Former Developer
|
Former Developer
Joined: Jun 2006
Posts: 9,242 Likes: 1 |
I think what happens is a double click actually gets two instances of the program going at once. So, it's a bit of a race. If both are running at the same time, the floodcheck gets missed because the first one hasn't actually been committed yet.
I think the only "real" way around this is to maybe do some javascript. So, you click the submit button, and then maybe the button gets disabled by javascript.
|
|
|
|
Joined: Jun 2006
Posts: 16,299 Likes: 116
|
Joined: Jun 2006
Posts: 16,299 Likes: 116 |
I love seeing the disabled submit buttons, so it'd be kinda cool to get it in to stop it ...
|
|
|
|
Joined: Jun 2006
Posts: 9,242 Likes: 1
Former Developer
|
Former Developer
Joined: Jun 2006
Posts: 9,242 Likes: 1 |
This is probably going to end up waiting until 7.1. I need to add the ability to specify a javascript unload statement in the header. Otherwise if you hit submit and encounter an error, the button is still disabled when you go back So, I have to rework things quite a bit and don't want to do that on a minor release.
|
|
|
|
Joined: Aug 2006
Posts: 1,649 Likes: 1
Pooh-Bah
|
Pooh-Bah
Joined: Aug 2006
Posts: 1,649 Likes: 1 |
GangsterBB.NET (Ver. 7.6.1.1) PHP Version 5.6.40 / MySQL 5.7.23-23 (was 5.6.41-84.1) / Apache 2.4.54 2007 Content Rulez Contest - Hon Mention UBB.classic 6.7.2 - RIP
|
|
|
Bots
by Outdoorking - 04/13/2024 5:08 PM
|
|
|
|
|
|
1 members (1 invisible),
859
guests, and
196
robots. |
Key:
Admin,
Global Mod,
Mod
|
|
|
|
|