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.


Comments are closed.

  • Discussion Forum Stats

  • Users:
    3,583
    Topics:
    24,315
    Replies:
    130,809
    Total Posts:
    155,124
  • Polls

    Are you going to the 2023 Rose Bowl?

    • Yes (53%, 38 Votes)
    • No (35%, 25 Votes)
    • Maybe (13%, 9 Votes)

    Total Voters: 72

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

    Profile picture of Laocoon
    Profile picture of BJA 13
    Profile picture of ayoriver
    Profile picture of OldAsDirtUte
    Profile picture of prestitute
    Profile picture of Porygon
    Profile picture of Utah
    Profile picture of UteFAN
    Profile picture of dystopiamembrane
    Profile picture of Red Son
    Profile picture of DocBuff
    Profile picture of cj13
    Profile picture of gandalf
    Profile picture of Timpson
    Profile picture of Black Hawk
    Profile picture of RedsideUte
    Profile picture of Clark Emett
    Profile picture of DrJazzy
    Profile picture of Rick
    Profile picture of baller
    Profile picture of PhiladelphiaUte