Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Some auto erase for double posts

SerienSerien Member CommonPosts: 8,460

they happen a lot...

there should be something that deletes it...without the post deleted sign

it just disappears.....u get me?

image

image

«1

Comments

  • AdminAdmin Administrator RarePosts: 5,623
    Aye - I need to devise a way to prevent double posting.  I think I know how...I just need the time to code it in :)

    - MMORPG.COM Staff -

    - MMORPG.COM Staff -

    The dead know only one thing: it is better to be alive.

  • SerienSerien Member CommonPosts: 8,460

    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 meimage

    o yea, thanks admin

    image

  • Odin1985Odin1985 Member, Newbie CommonPosts: 342
    make it so the member will only be able to post every 60 seconds, that way it will prevent double posting image

    ------------------------------------------------------------------------------------------
    "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

  • ZhanghiaZhanghia Member UncommonPosts: 1,312
    good thinking. :) It's not my fault tho, it just does it. x.x

    image

    As some things can be right and useless, can't some things be wrong and priceless? -Viktor Suikoden I

  • AdminAdmin Administrator RarePosts: 5,623
    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 image

    - MMORPG.COM Staff -

    - MMORPG.COM Staff -

    The dead know only one thing: it is better to be alive.

  • SerienSerien Member CommonPosts: 8,460

    so u gonna have to code day and night to do it?!?!

    imageimageimageimageimageimageimageimageimage

    image

  • AdminAdmin Administrator RarePosts: 5,623
    Na, this one won't take long...might have it in today or tomorrow.  Pretty busy at the moment with other projects.

    - MMORPG.COM Staff -

    - MMORPG.COM Staff -

    The dead know only one thing: it is better to be alive.

  • Odin1985Odin1985 Member, Newbie CommonPosts: 342
    good thinking, but still i had a nice idea image

    ------------------------------------------------------------------------------------------
    "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

  • SerienSerien Member CommonPosts: 8,460

    yea...

    i guess that would work....image

    image

  • AdminAdmin Administrator RarePosts: 5,623

    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.

  • SerienSerien Member CommonPosts: 8,460

    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....

    image

  • SerienSerien Member CommonPosts: 8,460

    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....

    image

  • AdminAdmin Administrator RarePosts: 5,623

    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.

  • AdminAdmin Administrator RarePosts: 5,623

    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.

  • AdminAdmin Administrator RarePosts: 5,623
    Ahhh...got it to do it there...

    - MMORPG.COM Staff -

    - MMORPG.COM Staff -

    The dead know only one thing: it is better to be alive.

  • SerienSerien Member CommonPosts: 8,460

    yea..

    even if the internet is fast, then it dosent matter

    just click it more than once...

    sometimes it happens...

    image

  • SerienSerien Member CommonPosts: 8,460

    *EDIT

    yea it ahppened againimage

     


    image

  • SerienSerien Member CommonPosts: 8,460
  • SerienSerien Member CommonPosts: 8,460
  • AdminAdmin Administrator RarePosts: 5,623

    TESTING!

    - MMORPG.COM Staff -

    - MMORPG.COM Staff -

    The dead know only one thing: it is better to be alive.

  • AdminAdmin Administrator RarePosts: 5,623
    TESTING AGAIN!!!

    - MMORPG.COM Staff -

    - MMORPG.COM Staff -

    The dead know only one thing: it is better to be alive.

  • AdminAdmin Administrator RarePosts: 5,623

    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 image

    - MMORPG.COM Staff -

    - MMORPG.COM Staff -

    The dead know only one thing: it is better to be alive.

  • SerienSerien Member CommonPosts: 8,460

    ok thanks!

    just for the record, i am going to TRY to make this a double post

    if it dosent...then goodimage

    image

  • SerienSerien Member CommonPosts: 8,460

    ok thanks!

    just for the record, i am going to TRY to make this a double post

    if it dosent...then goodimage

     

    *EDIT

    image


    image

  • AdminAdmin Administrator RarePosts: 5,623
    Grrrr....ok - back to the drawing board :)

    - MMORPG.COM Staff -

    - MMORPG.COM Staff -

    The dead know only one thing: it is better to be alive.

Sign In or Register to comment.