> > Or does somebody know how to implement a solution
> > with the picture with a code on it that the end-user has to 
> type over 
> > in a form field ? Like Yahoo and Hotmail registration do, 
> that looks 
> > pretty neat to me.
> 
> I think this is quite easy to do using the <mm:image> tag and 
> a random template, but that would create a new icache for 
> every page form you generate. Implementation should be pretty 
> straightforward:
> - generate a random string, put this in the session
> - put the random string inside an image using the <mm:image> tag
> - after a post, compare the session value with the one 
> submitted by the
>   user.

Good idea, I did not realize imagemagick could that easily generate such
images. Now we only need a 'nocache' attribute in the <mm:image> tag. 

> 
> This could work for polls too ofcourse.

This seems a bit overdone to me but maybe for high-security polls. 

> 
> Johannes
> 
> 

Reply via email to