Got rid of the repost error

Written by: Tony | Date: Wednesday, December 27th, 2017
Categories: Development

On the home page I had a “repost error” message for when people would hit the back button or somehow double post from the home page. The way it worked was to check the db for a previous match to the topic/reply content and if it found a match it would throw an error at the user.  The problem with that is two-fold. As the messages table gets bigger, it will take longer and longer for that “check” to happen.  Worse, if someone posts the same message on different days, even years apart, the message will still happen.  It was a good idea to prevent some irritating things from happening, but it turned out to be more irritating for me if I type “awesome” as a reply. That won’t work since I’ve already written that..

Long story short, that “feature” is gonzo.


  • Discussion Forum Stats

  • Users:
    3,566
    Topics:
    24,004
    Replies:
    129,491
    Total Posts:
    153,495
  • Polls

    How did the website Game Mode test work for you during the Oregon game?

    • Much better performance (37%, 11 Votes)
    • I'm too mad to worry about this crap (23%, 7 Votes)
    • A little better performance (20%, 6 Votes)
    • No difference (10%, 3 Votes)
    • There was a test? (10%, 3 Votes)
    • A little worse (0%, 0 Votes)

    Total Voters: 30

    Loading ... Loading ...
  • Recently Active Members

    Profile picture of MacKidsAlumn
    Profile picture of UTE98
    Profile picture of Charlie Foxtrot
    Profile picture of SalUteopia
    Profile picture of utedawg
    Profile picture of hbUte
    Profile picture of Tednab
    Profile picture of Abigail
    Profile picture of ChemUte
    Profile picture of bob sacomano
    Profile picture of UrbanLiar
    Profile picture of CivilUte
    Profile picture of BoxerUte
    Profile picture of EagleMountainUte
    Profile picture of Itacoatiara22
    Profile picture of UTUTE
    Profile picture of kilito05
    Profile picture of Xanthis
    Profile picture of 1MNUte
    Profile picture of krindor
    Profile picture of UTman