Got rid of the repost error

Written by: Tony (admin) | 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,801
    Topics:
    26,295
    Replies:
    143,853
    Total Posts:
    170,148
  • Polls

    Is this 2023 Utah Football Defense the Best Ever?

    • Need More Data (56%, 32 Votes)
    • Yes (40%, 23 Votes)
    • No (4%, 2 Votes)

    Total Voters: 57

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

    Profile picture of DrahtUte
    Profile picture of Yergensen
    Profile picture of The Miami Ute
    Profile picture of Kirk Herbstreet
    Profile picture of 2008 National Champ
    Profile picture of bopahull
    Profile picture of Utes44
    Profile picture of UTE98
    Profile picture of Utephoria
    Profile picture of Northendzone Ute5
    Profile picture of MTUTE
    Profile picture of Ute family
    Profile picture of Jim Vanderhoof
    Profile picture of Larry B
    Profile picture of vcsg01
    Profile picture of SalUteopia
    Profile picture of OldAsDirtUte
    Profile picture of Redblood
    Profile picture of NarfUte
    Profile picture of ProudUte
    Profile picture of cj13