[Catalyst] debugging the login
Ash Berlin
ash at cpan.org
Thu Dec 28 23:16:03 GMT 2006
Octavian Rasnita wrote:
> From: "Hermida, Leandro" <Leandro.Hermida at fmi.ch>
>
>> Are you using IE? Run your test server with the -k switch (i.e.
>> script/myapp_server.pl -k). You can read in previous Catalyst threads
>> that IE has a cookie setting problem and won't login properly if you
>> don't enable keep-alive connections.
>
>> Leandro
>
> Finally I have solved that issue, but I have another one that might
> because Of Catalyst::Plugin::Authentication bug, or something else,
> because if I have [% c.user %] in a template, the application gives an
> error, even though there is a logged user. (I've verified that using
> $c->user_exists).
>
> Thank you.
>
> Octavian
"Something else" is the case here. If you try "$c->user;" in a
controller I suspect it will give you same error as from the template.
As to the exact cause, hard to say, but its something to do with
authentication setup.
Ash
More information about the Catalyst
mailing list