Thanks Kevan quote: user object would be stored in the session rather than just the username.
Interesting idea, thanks makes way more sense. PS, thank you for the link, just what I was looking for. Glyn. >> if I should be do this all in my service, or should I come out again with >the username >> and run the bean.setUserSession() in the handler? >I'd keep everything behind the service (or even other objects beyond that) >and not put session related code in your handler. > >I'd also keep session code out of the user object (if that is what >the setUserSession() function is doing). I would probably do something more >like: > >if credentials are valid, then > session.user = userBean >endif > >So your user object would be stored in the session rather than just the >username (if that's what you were planning). > >Also have a look at >http://learn.objectorientedcoldfusion.org/wiki/Accessing_a_Users_Session_Data ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:325483 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

