[Catalyst] Question about Chained Controller

woosley. xu. redicaps at gmail.com
Mon Nov 15 02:32:13 GMT 2010


Hmmm, auto might be the correct way to do that, but I am still wondering why
forward dose not working in my way, and I just find detach('login') works
good.

flash is like stash which is mentioned in
Catalyst::Manual::Tutorial::05_Authentication



2010/11/15 Darren Duncan <darren at darrenduncan.net>

> woosley. xu. wrote:
>
>> Hi All,
>>     I am quite a beginner for Catalyst. When I used Chained Controller to
>> handle  some permission pages, I met a problem
>>
> <snip>
>
> I don't know if others do it the way you have, but in my limited experien=
ce
> I found that an "auto" method is the most appropriate way to intercept
> people going to a protected section with a login screen.  Also, I don't
> recognize the "$c->flash" part of your code; where is flash() defined? --
> Darren Duncan
>
> _______________________________________________
> List: Catalyst at lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive:
> http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
> Dev site: http://dev.catalyst.perl.org/
>



-- =

Woosley.Xu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20101115/f2c61=
64a/attachment.htm


More information about the Catalyst mailing list