Re: AuthCookie login ?

2002-04-09 Thread Michael Schout
On Fri, 5 Apr 2002, Geoffrey Young wrote: Since the authentication happens on every trip into the server, and I don't want to run my code (to set up an Apache::Session for the user's session data) until I'm sure I have a valid user on my hands, I can't see a way to do the session setup

AuthCookie login ?

2002-04-05 Thread Fran Fabrizio
Is there a hook in AuthCookie to allow me to run some code only right after successful login? The model doesn't seem to allow for this. The way it seems to work is you attempt to log in, if it doesn't find a valid cookie, it displays the login form again. You submit that and it sets the

Re: AuthCookie login ?

2002-04-05 Thread Geoffrey Young
Since the authentication happens on every trip into the server, and I don't want to run my code (to set up an Apache::Session for the user's session data) until I'm sure I have a valid user on my hands, I can't see a way to do the session setup only the first time after a sucessful login.

Re: Apache::AuthCookie login faliure reason

2001-11-27 Thread Vivek Khera
CH == Carolyn Hicks [EMAIL PROTECTED] writes: CH this to something like 'InvalidLogin' in authen_cred, you can then check CH for this and set the reason via $r-subprocess_env in AuthCookieHandler- authen_ses_key, before AuthCookie-authenticate wipes CH the cookie out. Not extensively tested,

Re: Apache::AuthCookie login faliure reason

2001-11-23 Thread Steve van der Burg
I am having some trouble getting Apache::AuthCookie (version 3 which i believe is the latest version) to do what want: What i want is: * To be able to give the user a reson if login fails - eg reason: * No such username * Your password was incorrect Has anyone else come

Re: Apache::AuthCookie login faliure reason

2001-11-23 Thread Bill Moseley
At 04:09 PM 11/23/2001 +1100, simran wrote: Hi All, I am having some trouble getting Apache::AuthCookie (version 3 which i believe is the latest version) to do what want: What i want is: * To be able to give the user a reson if login fails - eg reason: * No such username

Re: Apache::AuthCookie login faliure reason

2001-11-23 Thread clayton cottingham
Bill Moseley wrote: At 04:09 PM 11/23/2001 +1100, simran wrote: Hi All, I am having some trouble getting Apache::AuthCookie (version 3 which i believe is the latest version) to do what want: What i want is: * To be able to give the user a reson if login fails - eg reason: * No

Apache::AuthCookie login faliure reason

2001-11-22 Thread simran
Hi All, Iam having some trouble getting Apache::AuthCookie (version 3 which i believe is the latest version) to do what want: What i want is: * To be able to give the user a reson if login fails - eg reason: * "No such username" * "Your password was incorrect" Has anyone else

Re: Apache::AuthCookie login faliure reason

2001-11-22 Thread clayton
yes its pretty easy one to do, btw: i first found out how by investigating the Apache::AuthCookie code here is the meat of the matter send something like this to the $r-subprocess_env {the name im using is the same as authcookie's with the 2 added} $r-subprocess_env('AuthCookieReason2',

RE: Apache::AuthCookie login faliure reason

2001-11-22 Thread simran
Message- From: clayton [mailto:[EMAIL PROTECTED]] Sent: Friday, 23 November 2001 4:26 PM To: simran Cc: [EMAIL PROTECTED] Subject: Re: Apache::AuthCookie login faliure reason yes its pretty easy one to do, btw: i first found out how by investigating the Apache::AuthCookie code here is the meat

Re: Apache::AuthCookie login faliure reason

2001-11-22 Thread Carolyn Hicks
On Fri, Nov 23, 2001 at 04:09:45PM +1100, simran wrote: What i want is: * To be able to give the user a reson if login fails - eg reason: * No such username * Your password was incorrect On Thu, Nov 22, 2001 at 09:26:17PM -0800, clayton wrote: here is the meat of