On Apr 9, 2006, at 1:48 PM, Jonathan Vanasco wrote:
Does anyone know of a good idiomatic way to safeguard against
people hitting reload and processing the same info twice?
I'm thinking someone here figured out a series of internal/external
redirects to keep that from happening.
Right now, I just do a timeout variable in the session -> check if
someone is throttled, if not process and set a timeout for
30seconds if successful. I'm wondering if there's a more mod_perl
way to make that happen.
I normally do a redirect after a successful submit, so that reload
doesn't re-submit.
--
Barry Hoggard
www.ArtCat.com -self-managed websites for artists/galleries
www.ArtCal.net - gallery/art guide
www.bloggy.com - weblog
AIM/Yahoo: hoggardb