You may want to set the value to false _above_ the cfif blocks, and only turn it to true on a good login.
======================================================================= Raymond Camden, ColdFusion Jedi Master for Mindseye, Inc Member of Team Macromedia (http://www.macromedia.com/go/teammacromedia) Email : [EMAIL PROTECTED] Blog : www.camdenfamily.com/morpheus/blog Yahoo IM : morpheus "My ally is the Force, and a powerful ally it is." - Yoda > -----Original Message----- > From: Jeff [mailto:[EMAIL PROTECTED] > Sent: Friday, March 21, 2003 11:19 AM > To: CF-Talk > Subject: Re: Crud...I thought I had it down...[cflogin] > > > on 3/21/03 11:44 AM, Raymond Camden at [EMAIL PROTECTED] wrote: > > > LoggedIn will NOT be defined if you try to login and fail. > Notice your > > error msg branch doesn't set loggedIn to 0? > > Yep, you're absolutely right. I kinda caught that as I was > pasting it in, and corrected it when I changed it to set in > the session scope. > > Whew...almost there... > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

