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
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
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.
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,
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
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
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
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
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',
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
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
11 matches
Mail list logo