I'm attempting to code in a more OOP fashion (I've been doing all procedural
in the past), and I've started using the Model-Glue framework as a base for
my test OOP application. 

 

I've run into the question of where should Session variables be set?  If my
application requires a user to be logged in, and I need to set a
Session.userID, where should that code be placed?

 

My first inclination was to say the Controller should be the one to set this
variable.  Was wondering if that's the "proper" place that code should go.
or if there's a more appropriate place for it.

 

Jonathon




~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create Web Applications With ColdFusion MX7 & Flex 2. 
Build powerful, scalable RIAs. Free Trial
http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS 

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:279907
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