I am using <cflogin> and <cflogout>...:)

I am dumping getAuthUser() in the login form page and the default page
upon successful login.

I am seeing the [empty string] on the login form page which tells me
the <cflogout> works.

On CF8 dev. if this helps.

On Tue, Feb 16, 2010 at 11:48 AM, Jochem van Dieten <[email protected]> wrote:
> On Tue, Feb 16, 2010 at 6:12 PM, Ron Mast wrote:
>> I have a login form and I'm validating the user against LDAP. Maybe
>> someone can explain to me why the following happens. The initial
>> validation works great...if I type in the wrong username or
>> password...I get the correct functionality. But after a successful
>> login and I go back to the login page and type in the wrong username
>> or password...the behavior is not what I expect...it functions as a
>> successful login.
>
> If you are setting a session variable upon successful login check the
> order in which your login checks run. If your session checker runs
> before your LDAP checker the current behavior is to be expected. If
> you want it to behave differently, make sure that in the code path for
> an unsuccessful LDAP check you delete the session variables you have.
>
> Jochem
>
>
> --
> Jochem van Dieten
> http://jochem.vandieten.net/
>
> --
> Model-Glue Sites:
> Home Page: http://www.model-glue.com
> Documentation: http://docs.model-glue.com
> Bug Tracker: http://bugs.model-glue.com
> Blog: http://www.model-glue.com/blog
>
> You received this message because you are subscribed to the Google
> Groups "model-glue" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/model-glue?hl=en

-- 
Model-Glue Sites:
Home Page: http://www.model-glue.com
Documentation: http://docs.model-glue.com
Bug Tracker: http://bugs.model-glue.com
Blog: http://www.model-glue.com/blog

You received this message because you are subscribed to the Google
Groups "model-glue" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/model-glue?hl=en

Reply via email to