[Catalyst] pratical use of Catalyst::Plugin::Captcha

T. H. Lin easy.lin at gmail.com
Sat Apr 29 17:22:00 CEST 2006


I have only idea using <iframe> tag to a wrap a controller page, which
call Catalyst::Plugin::Captcha

On 29/04/06, T. H. Lin <easy.lin at gmail.com> wrote:
> hallo,
>
> has anyone worked with Catalyst::Plugin::Captcha ?
>
> Catalyst::Plugin::Captcha create image and does  so...
>
> $c->res->headers->expires(time());
> $c->res->headers->header('Last-Modified' => HTTP::Date::time2str);
> $c->res->headers->header('Pragma' => 'no-cache');
> $c->res->headers->header('Cache-Control' => 'no-cache');
> $c->res->content_type("image/$mime_type");
> $c->res->output($image_data)
>
> It directly return a image data.
>
> can anyone give a hint?
> how to integrate this plugin with for example a signup controller...
>



More information about the Catalyst mailing list