Like many CF tags, it just makes some things simpler/more convenient from a
coding perspective. E.g. instead of having to write a lot of "if
session.username is empty" type code to see if you should run the login
code, you can just add a CFLOGIN tag (because it only runs when the user
isn't logged in). It also passes the roles to CFCs, so you can ensure your
code is only allowing the right people to run certain methods. It also
provides integration with basic HTTP authentication if you happen to be
using it. It is essentially simplifying the housekeeping in terms of where
the login is stored, checking usernames and roles etc.

-----Original Message-----
From: Douglas Knudsen [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 12 April 2005 3:53 
To: CF-Talk
Subject: Re: To CFLogin or not to CFLogin, that is my question.

good o' cflogin, learned it first from Ray 'Jedi' Camden's pres on it at
MAX2002, or whatever it was called then. Too much saki that week at that
sushi place....

anyhoo, I never saw the need for the tag. you have to write all your actual
auth code with or without it, so why use it, IMHO.

D

On Apr 11, 2005 12:53 PM, jonese <[EMAIL PROTECTED]> wrote:
> 
> Apologies to those in advance who get this twice.
> I have to admit i've never used he built in authentication in CF 
> (cflogin etc). So i'm curious to hear from everyone there thoughts on 
> when it's a good idea and when it's a bad idea to use this versus a 
> home grown solution.
> thanks in advance.
> jonese
> 
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202377
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