After entering a wrong "answer" for the first time, subsequent attempts all return this error message "The image verification code you entered is incorrect." even when the code was correctly entered.

Comments

Success’s picture

Found the solution

administer > access control > textimage module > access textimages

check both "anonymous user" & "authenticated user"

jbrown’s picture

I don't see how that could fix your problem. This is an intermitant bug. Try out my solution here:

http://drupal.org/node/63754

ardas’s picture

May be this happens because of cache issue ... after you have entered a wrong code the page was refreshed and the new code and image was generated but unfortunatly the image wasn't refreshed ... you enter the code displayed on the old image and of course it is wrong ....

jbrown’s picture

There are a number of ways that is prevented from happening.

Each page refresh has the captcha image with a parameter of the current timestamp, so the browser regards it as a different image.

Also the http headers for the image are set as follows:
header('Expires: Mon, 01 Jan 1997 05:00:00 GMT');
header('Cache-Control: no-store, no-cache, must-revalidate');
header('Cache-Control: post-check=0, pre-check=0', false);
header('Pragma: no-cache');

My solution at http://drupal.org/node/63754 fixes the problem.

wundo’s picture

Status: Active » Closed (fixed)