in reply to RE: Don't allow duplicate posts with the same title
in thread Don't allow duplicate posts with the same title

That won't work well for a lot of corporate users. If someone uses a load balancer for outgoing posts then every post will come from an essentially random ID in some range.

Instead lookup the last post on the user name. That should work much better for accidents (if not for spams).

  • Comment on RE (tilly) 2: Don't allow duplicate posts with the same title

Replies are listed 'Best First'.
RE: RE (tilly) 2: Don't allow duplicate posts with the same title
by turnstep (Parson) on Sep 21, 2000 at 16:04 UTC

    True, but most duplicate posts happen within a few seconds of each other, so it should work even for corporate users. More importantly, a lookup by user will not stop Anonymous Monks from double posting - hopefully, once you become a user, you are more aware of what you are doing and tend to make less mistakes. In reality, however, it seems as though registered users make double posts more often than AMs. Go figure.

      I think you misunderstood my point.

      My point is that corporate users behind a load balancer doing round robbin will have the separate posts come from sequential IPs, therefore your lookup by IP will fail to see the previous post for that user. While this is not common today, it is becoming more and more common as time goes by.

      Given the speed of double-posts and the frequency of posting overall, I also believe that it would work fine for anonymous users. If it would not then you could beef up the logic to take care of them specially.