|
After putting it off for too long, I've finally killed the 'reload bug'. For those of you unfamiliar, what happens is if you post a message, then hit "reload", it asks if you want to 'resend the data' (or something like that). You hit OK because you want to see if anything new has happened, but -- whoops -- now you've reposted your comment a second time. Through the magic of COOKIES, the most dreaded carcinogen on the 'net, I write a few bytes of 'comment identifier' to your computer -- every time you post something, the Receipt Site checks your post against the last thing you posted. If they're identical, boom, the new comment is ignored, and you get to view the receipt like nothing happened. Actually, it REALLY only compares the last 20 bytes of the comment, so if you're accustomed to repeating yourself only at the ends of sentences, then you might get ignored by the system. However, if you have to end your messages with the same 20 characters every time, then you're probably going to be rather annoying to read anyways. It's a small price to pay to clean up the reload problem....
|