Re: Avoiding Repeat Posts

From: Date: Sat, 04 Jan 2003 12:11:00 +0000
Subject: Re: Avoiding Repeat Posts
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-130225@lists.php.net to get a copy of this message
Why not create a unique constraint with the userid, day (without time) and post content. Is it going in a DB? Mike *********** REPLY SEPARATOR *********** On 04/01/2003 at 3:26 AM OrangeHairedBoy wrote: >Hi all, > >It seems that there might be some basic solution on this that I never >received a memo on... > >Basically, I'm looking for a way to avoid repeat posts. If someone, for >example, adds something to a bulletin board, clicks submit, and then >presses >F5, they're just 1 click away from re-submitting the form and posting the >same information for a second time. Is there an easy way to avoid this? > >I've thought about using a "unique visit id" or something which gets >triggered when a visitor posts, but that seems like a lot to do... > >Also, do you think I should look into redirecting the user once they've >posted so they can't go back? > >I just don't know where to begin...any input is greatly appreciated. > >Thanks! > >Lewis > > > > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#130225) next »