|
Hello all, I have a quick simple question that I hope someone can enlighten me with... What would be best practice to see if a record object has been loaded or not? my current script is as follows: <cfif len(userRecord)> <cfset arguments.event.setValue("badLogin","Invalid Username or Password") /> <cfset arguments.event.addResult("notLoggedIn") /> <cfelse> <cfset session.isLoggedIn = true /> <cfset session.username = #userRecord.getuserName()# /> <cfset arguments.event.addResult("loggedIn") /> </cfif> "userRecord" being the object... I'm getting the following error:
thanks in advance... sal -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Reactor for ColdFusion Mailing List [email protected] Archives at: http://www.mail-archive.com/reactor%40doughughes.net/ -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- |
- [Reactor for CF] Record object Question...? SAL VALVERDE
- Re: [Reactor for CF] Record object Question...? Jared Rypka-Hauer
- Re: [Reactor for CF] Record object Question...? SAL VALVERDE
- Re: [Reactor for CF] Record object Question...? Doug Sims
- Re: [Reactor for CF] Record object Question...? Dave Shuck
- Re: [Reactor for CF] Record object Question...? SAL VALVERDE
- Re: [Reactor for CF] Record object Question...? Jared Rypka-Hauer
- Re: [Reactor for CF] Record object Question...? Aaron Lynch
- Re: [Reactor for CF] Record object Question...? Dave Shuck
- Re: [Reactor for CF] Record object Question...? Dave Shuck
- Re: [Reactor for CF] Record object Question...? João Fernandes
