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

T. H. Lin easy.lin at gmail.com
Sat Apr 29 16:14:37 CEST 2006


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