This really works! Look at me I am starting to get this!!!! (is it really sad
this is making me smile with joy lol)
I love this object stuff! So here is what I am doing,
I have just checked my user exist, got their details and set there session in 4
lines of code in my handler! Now that's cool, right?
if (resultCount.recordcount eq 1){
variables.adminUsersService.getUserByID(userBean);//Get User Deatils, Object
Will Have The User ID Already
variables.adminUsersService.setCurrentUser(userBean);// Setup User Session
}
I can see now how to make this better no need for the resultCount line I have
do this via the object also!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know
on the House of Fusion mailing lists
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:325488
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4