[Catalyst] Questions with Authentication/Authorization

Tomas Doran bobtfish at bobtfish.net
Thu Nov 24 16:41:51 GMT 2011


On 24 Nov 2011, at 14:15, Johannes Kilian wrote:

>
>>> * Isn't $c->user a persistent value within $c? When I try to  
>>> access to
>>> c.user later (after "successfull" login) $c->user is undefined.
>>> What is neccessary to make it persistent?
>>
>> The session plugin (with a session store etc) needs to be setup for
>> authentication to persist across requests.
>
> OK - have to figure out how to do this. BTW: would be nice if this  
> could be mentioned in the tutorial as well ...
>

It is: http://search.cpan.org/~hkclark/Catalyst-Manual-5.9002/lib/Catalyst/Manual/Tutorial/05_Authentication.pod#Include_Authentication_and_Session_Plugins

Will get back about the actual problem later when I have a sec to  
think :)

Cheers
t0m




More information about the Catalyst mailing list