Gossamer Forum
Home : Products : Links 2.0 : Installation -- Unix :

multiple add submission

Quote Reply
multiple add submission
Dear Bobsie
first: thank you for helping me out the last time. The error isnīt fixed yet and Iīm still setting everything up.
While testing, adding, deleting and so on I ran into the following:
When I add a ressource and get the thank-you screen and resize the screen and hit the reload button, the ressource will be added again - I tried it then four times and ended with four new identical ressouce- addings.
Is there a way around this? I mean, the user will do this quite seldom, but he/she will do (like me :-))
Many thanks in advance
Claus
Quote Reply
Re: multiple add submission In reply to
As written, the script will not check validate.db for duplicates. It only checks the links.db for duplicates. The reason is simple. Links is designed so that the administrator validates all new links and, thus, would see the duplicate submissions and approve one of them (if appropriate) and delete the rest. There is no way to stop a browser from reloading and there is no code in Links to check for duplicate adds in validate.db.

I hope this helps.