Hi Caleb,
On Fri, Jan 15, 2010 at 4:21 PM, Caleb James DeLisle <
calebdelisle(a)lavabit.com> wrote:
Whoops I made a mistake in my example:
How about:
#set($captcha = $captchaservice.getCaptcha("defaultImageCaptcha"))
#set($servletId = $captcha.getServletId($request))
$captcha.isAnswerCorrect($answer)
should be:
$captcha.isAnswerCorrect($servletId, $answer)
Why is it called servletId? shouldn't it be captchaId? Or may be I have
misunderstood you.
>
$captchaservice.isAnswerCorrect($sessionId, $answer)
>>
> Yes. I believe here sessionId is generated by the captcha service for
each
> captcha displayed? Or is it something else?
>
> I'm asking because recaptcha generates a unque captchaId for each
captcha
it
> generates. Then you need to handover this
captchaId + user's answer to
the
> server to verify the answer.
May be my above question got commented out on your mail reader.
Thanks.
- Asiri