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 <[email protected]>

> 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 experience
> 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: [email protected]
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive:
> http://www.mail-archive.com/[email protected]/
> Dev site: http://dev.catalyst.perl.org/
>



-- 
Woosley.Xu
_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to