Perfect - many thanks Grégory

2010/3/18 Grégory Joseph <[email protected]>:
>
> Hi,
> On Mar 18, 2010, at 20:20, John Preston wrote:
>
>>
>> Hi Magnolians,
>>
>> I'm extending the form module to provide a paragraph for adding JCaptcha.
>>
>> I was wondering if anyone could advise best practice in addressing the
>> following -
>>
>> I was hoping to create a CaptchaValidator sub class of
>> info.magnolia.module.form.validators.Validator but I don't have access
>> to the Http request in order to get the users session ID, determine
>> the text in the image they have seen and validate against their input.
>
> You can get it via MgnlContext.getWebContext()
>
> hth,
>
> -g
>
> ps: please use <[email protected]> instead of 
> <[email protected]> if possible :)
> (ends up in exactly the same place, so it should cause no harm, but just 
> eases everyone's life with mail filters)
>
>>
>> Kind regards,
>>
>> John
>>
>> ----------------------------------------------------------------
>> For list details see
>> http://www.magnolia-cms.com/home/community/mailing-lists.html
>> To unsubscribe, E-mail to: <[email protected]>
>> ----------------------------------------------------------------
>
>
> ----------------------------------------------------------------
> For list details see
> http://www.magnolia-cms.com/home/community/mailing-lists.html
> To unsubscribe, E-mail to: <[email protected]>
> ----------------------------------------------------------------
>
>

----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to