IF the login always works, but not on the first attempt, then i'd
suggest the place to look for the error is not in the login code but
in the position of the parts on the .cfm page.

I'd suggest when you click the 'submit' button the first time your
form isnt being processed until the next time around. In other words
you've got a form logic error.

If you're submitting the login form to itself, do a CFDUMP of the form
scope (  <cfdump var="#form#"> ) and see what's there.  Quite possible
you think you have a form scope but in fact you dont, until the second
time around.

Do you have the form above or below the code that processes the
results?   Normally you'd have the form at the bottom of the page, and
the processing above it, surrounded by <cfif isdefined("form.submit")>
  </cfif>   If you have that stuff below the form, it'll be displayed
again when the form is submitted.

Anyway, without looking at your code in detail, I'd say you need to
look at this kind of error.

Cheers
Mike Kear
Windsor, NSW, Australia
AFP Webworks
http://afpwebworks.com
.com,.net,.org domains from AUD$20/Year



On Wed, 01 Dec 2004 16:31:45 -0400, Shawn Contreras
<[EMAIL PROTECTED]> wrote:
> Scott,
> 
> This is CFMX.  If this is the case then do you have another resolution??  
> Anyone??
> 
> Sifu
> 
> >Depends on the version of CF.  This was the case with CF5 and earlier,
> >but is no longer an issue with CFMX.  (The CFMX Study Guide actually
> >has this wrong, fwiw)
> >
> >Scott
> >
> >--
> >-----------------------------------------
> >Scott Brady
> >http://www.scottbrady.net/
> 
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Special thanks to the CF Community Suite Silver Sponsor - CFDynamics
http://www.cfdynamics.com

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:185884
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to