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

Florian Ragwitz rafl at debian.org
Sat Apr 29 17:34:59 CEST 2006


On Sat, Apr 29, 2006 at 04:14:37PM +0200, T. H. Lin wrote:
> 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...

How about a SubRequest?


-Flo

-- 
BOFH excuse #95:
Pentium FDIV bug
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.rawmode.org/pipermail/catalyst/attachments/20060429/255d977d/attachment.pgp 


More information about the Catalyst mailing list