[Catalyst] debugging the login

Hermida, Leandro Leandro.Hermida at fmi.ch
Thu Dec 28 17:12:52 GMT 2006


> From: Octavian Rasnita [mailto:orasnita at gmail.com] 
> Sent: Thursday, December 28, 2006 04:19
> Subject: [Catalyst] debugging the login
> 
> Hi,
> 
> Is there a way to see what's happening when doing:
> 
> $c->login($username, $password);
> 
> I found that each time the login is ok (the username and the 
> password are valid), the application gives a 404 Not Found 
> error, and I want to see what's happening.
> 
> I guess something's wrong when saving the local session 
> files, or the cookies, or something like this.
> 
> Thanks.
> 
> Octavian

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




More information about the Catalyst mailing list