am trying to set up a login page. the actual guts of the login works fine except for the fact that if the recordcount is '0' the <cfelse> part of the cfif clause does not appear in the resultant page. am foxed totally.
<cfoutput query="login">
<cfif login.recordcount gt 0>
<cfset logged = "true">
<a href="access.cfm" target="_parent">go on in #UserName#</a>
<cfelse>
bad luck - <a href="login.cfm" target="_self">try again</a>
</cfif>
</cfoutput>
<cfoutput query="login">
<cfif login.recordcount gt 0>
<cfset logged = "true">
<a href="access.cfm" target="_parent">go on in #UserName#</a>
<cfelse>
bad luck - <a href="login.cfm" target="_self">try again</a>
</cfif>
</cfoutput>