perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Barry Hoggard <>
Subject Re: preventing/throttling successive form posts?
Date Mon, 10 Apr 2006 01:14:13 GMT
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 -self-managed websites for artists/galleries - gallery/art guide - weblog
AIM/Yahoo: hoggardb

View raw message