make it so the member will only be able to post every 60 seconds, that way it will prevent double posting
------------------------------------------------------------------------------------------ "Nearly all men can stand adversity, but if you want to test a man´s character give him power" -Abraham Lincoln
Coder, Webmaster and Modeler
------------------------------------------------------------------------------------------ "Nearly all men can stand adversity, but if you want to test a man?s character give him power" -Abraham Lincoln
Actually using the session state (this is where I can store data during each users visit) I am just going to create a flag for open/closed posting status. When you hit 'post' or 'reply' it will open the flag, cancelling or when a post is added to the system will close the flag. If this flag is not open, it will not allow adding posts to the system...should do the trick
- MMORPG.COM Staff -
- MMORPG.COM Staff -
The dead know only one thing: it is better to be alive.
------------------------------------------------------------------------------------------ "Nearly all men can stand adversity, but if you want to test a man´s character give him power" -Abraham Lincoln
Coder, Webmaster and Modeler
------------------------------------------------------------------------------------------ "Nearly all men can stand adversity, but if you want to test a man?s character give him power" -Abraham Lincoln
Uhh....I need a hand with this one. I can't seem to make it happen - the double posting. I have posted and hit the refresh button, I have posted and then hit the back button and clicked post again, still no double post.
Can anyone:
1) Tell me how this happens 2) Tell me what web browser/version you are using when it happens
Thanks!
- MMORPG.COM Staff -
- MMORPG.COM Staff -
The dead know only one thing: it is better to be alive.
Hmm...I see you were able to do it there...I keep clicking the post button like a mad monkey and it won't do it! Ok, well I will try to work with it based on what you told me...
Thanks
- MMORPG.COM Staff -
- MMORPG.COM Staff -
The dead know only one thing: it is better to be alive.
Hmm...I see you were able to do it there...I keep clicking the post button like a mad monkey and it won't do it! Ok, well I will try to work with it based on what you told me...
Thanks
- MMORPG.COM Staff -
- MMORPG.COM Staff -
The dead know only one thing: it is better to be alive.
Ok, I think I nailed it. Basically I already had checks in there to prevent double posting...however, if it was done really quick before it could still happen becaues 2 simutaneous "threads" would execute at the same time. I added some session locking to that block of code (this forces things to run in sequence and not parallel) and poof...should do the trick.
Let me know if it happens again
- MMORPG.COM Staff -
- MMORPG.COM Staff -
The dead know only one thing: it is better to be alive.
Comments
- MMORPG.COM Staff -
- MMORPG.COM Staff -
The dead know only one thing: it is better to be alive.
lol
*Admin will code day and night and soon....will devise a way*
lol im sorry, but the whole "code day and night" thing was funny to me
o yea, thanks admin
http://www.facebook.com/murtb
------------------------------------------------------------------------------------------
"Nearly all men can stand adversity, but if you want to test a man´s character give him power"
-Abraham Lincoln
Coder, Webmaster and Modeler
------------------------------------------------------------------------------------------
"Nearly all men can stand adversity, but if you want to test a man?s character give him power"
-Abraham Lincoln
Coder, Webmaster and Modeler
As some things can be right and useless, can't some things be wrong and priceless? -Viktor Suikoden I
- MMORPG.COM Staff -
- MMORPG.COM Staff -
The dead know only one thing: it is better to be alive.
so u gonna have to code day and night to do it?!?!
http://www.facebook.com/murtb
- MMORPG.COM Staff -
- MMORPG.COM Staff -
The dead know only one thing: it is better to be alive.
------------------------------------------------------------------------------------------
"Nearly all men can stand adversity, but if you want to test a man´s character give him power"
-Abraham Lincoln
Coder, Webmaster and Modeler
------------------------------------------------------------------------------------------
"Nearly all men can stand adversity, but if you want to test a man?s character give him power"
-Abraham Lincoln
Coder, Webmaster and Modeler
yea...
i guess that would work....
http://www.facebook.com/murtb
Uhh....I need a hand with this one. I can't seem to make it happen - the double posting. I have posted and hit the refresh button, I have posted and then hit the back button and clicked post again, still no double post.
Can anyone:
1) Tell me how this happens
2) Tell me what web browser/version you are using when it happens
Thanks!
- MMORPG.COM Staff -
- MMORPG.COM Staff -
The dead know only one thing: it is better to be alive.
the latest IE
and it happens when the internet brings on a great "lag" and takes a long time to move
so you click post twice...
then it happens....
http://www.facebook.com/murtb
the latest IE
and it happens when the internet brings on a great "lag" and takes a long time to move
so you click post twice...
then it happens....
http://www.facebook.com/murtb
Hmm...I see you were able to do it there...I keep clicking the post button like a mad monkey and it won't do it! Ok, well I will try to work with it based on what you told me...
Thanks
- MMORPG.COM Staff -
- MMORPG.COM Staff -
The dead know only one thing: it is better to be alive.
Hmm...I see you were able to do it there...I keep clicking the post button like a mad monkey and it won't do it! Ok, well I will try to work with it based on what you told me...
Thanks
- MMORPG.COM Staff -
- MMORPG.COM Staff -
The dead know only one thing: it is better to be alive.
- MMORPG.COM Staff -
- MMORPG.COM Staff -
The dead know only one thing: it is better to be alive.
yea..
even if the internet is fast, then it dosent matter
just click it more than once...
sometimes it happens...
http://www.facebook.com/murtb
*EDIT
yea it ahppened again
http://www.facebook.com/murtb
Quadrouple post
http://www.facebook.com/murtb
must be a record
http://www.facebook.com/murtb
TESTING!
- MMORPG.COM Staff -
- MMORPG.COM Staff -
The dead know only one thing: it is better to be alive.
- MMORPG.COM Staff -
- MMORPG.COM Staff -
The dead know only one thing: it is better to be alive.
Ok, I think I nailed it. Basically I already had checks in there to prevent double posting...however, if it was done really quick before it could still happen becaues 2 simutaneous "threads" would execute at the same time. I added some session locking to that block of code (this forces things to run in sequence and not parallel) and poof...should do the trick.
Let me know if it happens again
- MMORPG.COM Staff -
- MMORPG.COM Staff -
The dead know only one thing: it is better to be alive.
ok thanks!
just for the record, i am going to TRY to make this a double post
if it dosent...then good
http://www.facebook.com/murtb
ok thanks!
just for the record, i am going to TRY to make this a double post
if it dosent...then good
*EDIT
http://www.facebook.com/murtb
- MMORPG.COM Staff -
- MMORPG.COM Staff -
The dead know only one thing: it is better to be alive.