Yes, Neil it's a good alternative.  But if you want to have a bit more
control over some aspects, or you want to have more than just a
username and a role as belonging to the logged-in user, you have to
have other database accesses somewhere along the line.

Thats why in this case I wanted to have a user bean in teh session
scope. That way i could have the user's name appearing in some places,
  forms being pre-filled in,  and items that have been changed since
the user's last login highlighted very simply just using a getter
method on the user bean.

Since i was going to have a user bean anyway, I decided to make it
into a full-on authentication system.  The user submits a login form
(userlogin and userpassword) and after the UserAccess.cfc does it's
thing, the end result is  byebye user or hello!  and a fully populated
user bean to use anywhere around the site.

But to answer your question, yes the CFLOGIN framework does the trick,
but is limited in the user details that are stored.  If all you want
to access throughout the site is the username, userpassword and their
role, you need nothing more.

Cheers
Mike Kear
Windsor, NSW, Australia
Adobe Certified Advanced ColdFusion Developer
AFP Webworks
http://afpwebworks.com
ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month



On 10/5/06, Robertson-Ravo, Neil (RX)
<[EMAIL PROTECTED]> wrote:
> Does cflogin etc not cut the mustard? Does anyone use it?
>
>
>
>
>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:255612
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to