You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (Resolved) (JIRA)" <ji...@apache.org> on 2012/01/07 13:34:39 UTC

[jira] [Resolved] (WICKET-4288) Captcha doesn't work

     [ https://issues.apache.org/jira/browse/WICKET-4288?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Grigorov resolved WICKET-4288.
-------------------------------------

    Resolution: Incomplete

>From the ticket description is not exactly clear what is the problem.

CaptchaImageResource keeps the image bytes in a transient field (imageData). If the page is loaded from the http session then these bytes are reused.
If you want a freshly new image then use org.apache.wicket.extensions.markup.html.captcha.CaptchaImageResource#invalidate() in CaptchaForm#onError()
                
> Captcha doesn't work
> --------------------
>
>                 Key: WICKET-4288
>                 URL: https://issues.apache.org/jira/browse/WICKET-4288
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5.3
>         Environment: Java 
>            Reporter: Brian Lavender
>         Attachments: captcha.zip
>
>
> Captcha produces cached image.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira