lima1 has asked for the wisdom of the Perl Monks concerning the following question:

Hi monks,

sorry, this is slightly offtopic because I think it is more a HTML problem (and my HTML knowledge is very limited, so sorry if this is a stupid question):

I use Authen::Captcha. The first problem is that it is a little bit too paranoid. 10-20 percent of captchas are really hard to read. The user pushes the back button of the browser if he failed and tries again, but the code is only valid once. That means even if he enters now the correct code of the old image, it is not valid anymore. I write in big letters that he must reload the page, but many users don't understand/read this.

How can I force reloading the page? googling gave me the no-cache metatag, but this does not seem to work (maybe only for the html, not images?). Or javascript?

On cpan I found now a CGI::Application Captcha Plugin. Should I try this instead (at least it seems to have some options for turning this "paranoid mode" off)?

Replies are listed 'Best First'.
Re: Authen::Captcha usability
by holli (Abbot) on Mar 18, 2006 at 13:23 UTC
    Why reloading? You already have a request. So when you see the captcha is invalid, send the new one along with the error message.


    holli, /regexed monk/
      argh, yes...you are right, thats the easiest and best solution. thx.