Re: [Catalyst] debugging the login

2007-01-02 Thread Matt S Trout
On 29 Dec 2006, at 08:07, Octavian Rasnita wrote: From: Ash Berlin [EMAIL PROTECTED] 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

Re: [Catalyst] debugging the login

2006-12-29 Thread Octavian Rasnita
From: Ash Berlin [EMAIL PROTECTED] 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. Aha, so it is a known issue? Does it

Re: [Catalyst] debugging the login

2006-12-29 Thread Ash Berlin
Octavian Rasnita wrote: From: Ash Berlin [EMAIL PROTECTED] 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. Aha, so it is

RE: [Catalyst] debugging the login

2006-12-28 Thread Hermida, Leandro
From: Octavian Rasnita [mailto:[EMAIL PROTECTED] 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

Re: [Catalyst] debugging the login

2006-12-28 Thread Octavian Rasnita
From: Hermida, Leandro [EMAIL PROTECTED] 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

RE: [Catalyst] debugging the login

2006-12-28 Thread Marc Logghe
From: Hermida, Leandro [EMAIL PROTECTED] 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

Re: [Catalyst] debugging the login

2006-12-28 Thread Ash Berlin
Octavian Rasnita wrote: From: Hermida, Leandro [EMAIL PROTECTED] 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