Skip to main content
Known Participant
September 10, 2007
Question

CFLOGIN VS CFFORM

  • September 10, 2007
  • 2 replies
  • 412 views
I am wondering what the difference between using CFLOGIN and a CFFORM for a login page? Is one better than the other?
This topic has been closed for replies.

2 replies

Inspiring
September 10, 2007
TheScarecrow wrote:
> I am wondering what the difference between using CFLOGIN and a CFFORM for a login page? Is one better than the other?

One creates a front end user interface and the other causes back end
logic to be run if one there is no <cfloginuser...> in effect.

<cfform...> creates forms (html, dhtml or flash) with optional client
and|or server interaction for validation and other effects.

<cflogin...> is a specific purpose 'if' block. If a user is not logged
in with a <cfloginuser...> tag, run the code inside the <cflogin...>
block, otherwise skip it.

Other then that, they are very similar:-)

Known Participant
September 10, 2007
Is one more secure than than the other?
Inspiring
September 10, 2007
The difference? I'm trying to see a similarity.