perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Torsten Foertsch <>
Subject Re: preventing/throttling successive form posts?
Date Sun, 09 Apr 2006 18:19:53 GMT
On Sunday 09 April 2006 19:48, 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 in general answer to a post request with 302 redirect. Have a look at 
Apache2::POST200 for a more or less drop in solution.


View raw message