The conditional statement is evaluated in order.
In this case, if the value of the var "name" was "bob", then "Name = Bob"
would be displayed.
If the value of the var "name" was "bob's content", then neither of these
conditions would be true, therefore, nothing would display.
---mark
------------------------------------
Mark Warrick - Fusioneers.com
Email: [EMAIL PROTECTED]
Phone: 714-547-5386
http://www.fusioneers.com
http://www.warrick.net
====================================
> -----Original Message-----
> From: Tony Hicks [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, May 29, 2001 1:14 AM
> To: CF-Talk
> Subject: Curious about CFIF
>
>
> When you have a CFIF with a CFELSE or CFELSE IF... does cold fusion only
> read the code inside the matching condition?
>
> For instance
>
> <cfif name is 'bob'>
> Name = Bob
> <cfelseif name is 'joe'>
> Name = Joe
> </cfif>
>
> If the name is 'bob' does CF pay any attention to the content to be
> processed if the name is joe? and if the name is joe, does it pay any
> attention to "bob's content" since it comes first...?
>
> Curious,
> Tony Hicks
> ----- Original Message -----
> From: Bryan LaPlante <[EMAIL PROTECTED]>
> To: CF-Talk <[EMAIL PROTECTED]>
> Sent: Tuesday, May 29, 2001 3:12 AM
> Subject: Re: Logon Attempts
>
>
> > To resolve the problem put this code into login.cfm
> > <cfif isDefined("client.counterVar")>
> > <cfset client.counterVar = IncrementValue(client.counterVar)>
> > <cfelse>
> > <cfset client.counterVar = 1>
> > </cfif>
> >
> > You can use cfinclude or call the login.cfm as a custom tag, either way
> the
> > client scope will persist to the next page load where you can
> check it for
> > the appropriate action.
> >
> > ----- Original Message -----
> > From: "Jerry Staple" <[EMAIL PROTECTED]>
> > To: "CF-Talk" <[EMAIL PROTECTED]>
> > Sent: Tuesday, May 29, 2001 2:35 AM
> > Subject: Logon Attempts
> >
> >
> > > Could anyone inform tell me what would be the best way to implement a
> > > logon page where the user gets 3 attempts to logon,after the
> 3 attempts
> > > the user is directed elsewhere.I have tried setting a variable on the
> > > application page then adding +1 when it goes to the
> Logon_Action.cfm but
> > > to no avail.
> > >
> > > Help
> > >
> > >
> > > Regards
> > > Jerry Staple
> > > Web Applications Developer
> > > Biznet Solutions
> > > 133 - 137 Lisburn Road
> > > Belfast
> > > BT9 7AG
> > > www.biznet-solutions.com
> > > Tel: +44 (0)28 90205652
> > > Fax: +44 (0)28 9022 3223
> > >
> > >
> > >
> > >
> >
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists