When cookies are disabled the Captcha Verification always fails

Description

When using JCaptcha in a JBoss environment and the Struts configuration I am encountering a problem where all my captcha verifications failed IF I am using a browser with a cookies disabled. In this case the URL get's rewritten to include the session id which is also seeding the captcha store. However, when I inspect the captcha store right before the captcha verification the only entires in it correspond to keys that are not equal to my session id. In fact, I don't know where these keys are coming from at all.

Struts config:--------------------------------------------------------------------------------
<!-- add the render action-->
<action path="/jcaptcha"
type="com.octo.captcha.module.struts.image.RenderImageCaptchaAction"></action>

JSP config:--------------------------------------------------------------------------------
<td align="center"> <br /><img src="/jcaptcha.rcmx" /></td>

Action class:--------------------------------------------------------------------------------
final CaptchaService service = CaptchaServicePlugin.getInstance().getService();
try {
resp = service.validateResponseForID(sessionId, userEntry);
} catch (final CaptchaServiceException e) {
return false;
}

Environment

RHEL4, JBoss 3.2.8

Assignee

Unassigned

Reporter

Tanya Mamedalin

Labels

None

Priority

Minor
Configure